> Is there a way to do this without needing the full path; just by navigating
> to the required folder then entering the name of the app?
$ cd /Applications/
$ open Dictionary.app/
opens the Dictionary application.
My understanding is that 'open' passes the named thing to Finder
to deal with. Finder knows about application bundles.
Or are you talking about text-based programs that run in the
terminal? In that case prefix the name with ./, i.e.:
$ cd /some/directory
$ ./application
You can in principle stick "." in your PATH variable, but it's
a bit of a security risk and common UNIX newbie mistake. Much
safer to do the explicit "./" thing instead.
Matt
Jason - 19 Aug 2005 11:41 GMT
> > Is there a way to do this without needing the full path; just by navigating
> > to the required folder then entering the name of the app?
[quoted text clipped - 16 lines]
> a bit of a security risk and common UNIX newbie mistake. Much
> safer to do the explicit "./" thing instead.
open -a <Application Name>
e.g.
open -a Safari

Signature
"Bill Gates is just a monocle and a Persian Cat away
from being one of the bad guys in a James Bond movie."
-- Dennis Miller