How to make Applications.app run in terminal?
Apple has a good way of making Applications.app to launch when double clicked via finder. I am having a hard time, though, when I launch it via terminal. When I try to type in #./Application/Whatever.app the terminal reads it as a folder. In a way, to run it properly I have to go a longer path. I have to run it by typing #./Application/Whatever.app/Contents/MacOS/Whatever.bin. I think running it that way is just too long. I want it to be quick as possible.
Is there a way to set a path to something like $PATH = "/Application/$Whatever.app/Contents/MacOS/" so that as i tab key in the terminal I would be able to see the binary file right away? Or is there a way to alias the terminal so that when i type /Application/Whatever.app it launches the corresponding binary of that .app folder?
I am a newbie in Mac but I fairly now how to operate linux systems. Quite frankly I have not explored all the .app folders in my Application folders so I dont know how many binaries exists inside a .app folder.
I hope you guys got the idea and help me out.
Thanks,
Kilopopo
Mac Mini, Mac OS X (10.4.6), HP Laptop, Computer Desktop