running apps from terminal

Joined
Aug 10, 2007
Messages
1
Reaction score
0
Points
1
Hey, what do I have to do to run applications from the terminal? I think the way to do it is using symbolic links, but I'm not sure exactly how to proceed. My understanding is that you do something like (pseudo-code):

ln -s full/path/to/application desiredCallName

(When I tried this with the app TextEdit, I tried typing TextEdit from my home directory but it said it was a folder).

Thanks for the help.
 
Joined
Oct 7, 2005
Messages
346
Reaction score
14
Points
18
Location
Seattle
Your Mac's Specs
MBP CD 1.83/2ghz/7200 100g + Mini 2ghz C2D 2gb + Mini 1.42ghz G4 + PM 7200/120 + Newton OMP
In this case, you'd simply type:

Code:
open /Applications/TextEdit.app
 
Joined
Aug 20, 2007
Messages
27
Reaction score
0
Points
1
It might have treated it as a folder because it kind of is. If you "right click" on any application you'll get "Show Folder Contents" which will open up the different things that make up the program. Djames is right. By adding the .app on it it understands it has to perform what the contents of that folder say and not just open them individually.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top