Opening windows via command line

Yes. The command is "open ~"

You can open any file or directory with the "open" command. Type "man open" into the command line to see full instructions.
 
symphonix said:
Yes. The command is "open ~"

You can open any file or directory with the "open" command. Type "man open" into the command line to see full instructions.
Neat. :)

Peace...
 
symphonix said:
Yes. The command is "open ~"

To extend that into something more useful, the following command will open a Finder window in whatever directory you happen to be:

open `pwd`
 
Xlator said:
open ./ does the same. Why use two commands when you only need one? :)

Good point, although why use two characters when you only need one? :): "open ."
 
tomdkat said:
Ok, who can reduce this command to one character? :D

Peace...

Aliasing 'open .' to the letter f would reduce it to 2 characters: (f and <return>)
Close but no cigar! :D
 
Back
Top