Not very comfortable with command line? Wonder how to open and edit you “hosts” file in TextEditor?

It’s easy:

sudo /Applications/TextEdit.app/<wbr>Contents/MacOS/TextEdit /etc/hosts

sudo – This will prompt for you account password, You have to run this command from an Administrator account.

and we are asking to open the TextEdit with Admin rights and asking it to open the hosts file directly. It’s simple as that :)

Tagged with:
 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Set your Twitter account name in your settings to use the TwitterBar Section.