Saturday, January 1, 2011

How to Open Textedit From The Command Line Mac OS

Literally just asked the primitive matter – as you open the file / etc / hosts from the command line Mac OS? It is not a console program, but a graphic (GUI) applications. At first it seemed all quite easy.


The first and easiest option – use the command open with keys-t or-e, in the first case, the file will open in the editor by default, in the second – in TextEdit.app.

<pre>
~$ open -t /etc/hosts
~$ open -e /etc/hosts
</pre>

Read more>>

No comments:

Post a Comment