I am an experienced UNIX user, and am learning the ropes with my first Mac computer. I have one of the new iMacs (Intel core duo processor) and am running OS X 10.4.
I am trying to figure out how to lanuch an application from the Terminal, and I'm having no luck. On a typical UNIX system (Sun Solaris is what I'm most familiar with), you can just type the name of the application to launch, but it's not working for me from the Mac Terminal. I have tried to execute the application using all of these methods:
<work>$ TextEdit
</Applications>$ ./TextEdit
<work>$ TextEdit.app
</Applications>$ ./TextEdit.app
All of these attempts result in the "no such file or directory" error message. I have tried to launch the apps from the /Applications directory where the actual application files exist, and still no luck. I have checked the permissions, and the applications do have executable permissions (rwxr-xr-x).
I've also added /Applications to my path, but that's not working either.
Any suggestions? Thanks.
I am trying to figure out how to lanuch an application from the Terminal, and I'm having no luck. On a typical UNIX system (Sun Solaris is what I'm most familiar with), you can just type the name of the application to launch, but it's not working for me from the Mac Terminal. I have tried to execute the application using all of these methods:
<work>$ TextEdit
</Applications>$ ./TextEdit
<work>$ TextEdit.app
</Applications>$ ./TextEdit.app
All of these attempts result in the "no such file or directory" error message. I have tried to launch the apps from the /Applications directory where the actual application files exist, and still no luck. I have checked the permissions, and the applications do have executable permissions (rwxr-xr-x).
I've also added /Applications to my path, but that's not working either.
Any suggestions? Thanks.