I am trying to add Firefox to my PATH like in this tutorial. I have Firefox in the Applications folder of my GUI on my mac book air. I am familiar with adding locations to my path. But I don't know how to find the firefox executable on my machine. Where does the applications folder go to look for the Firefox executable?
How to find out where the firefox bin is
filesystemsfirefoxosxpath
Best Answer
The binary would be inside the application bundle. For example,
You could launch Firefox by running
/Applications/Firefox.app/Contents/MacOS/firefox
, and you could put/Applications/Firefox.app/Contents/MacOS
in your$PATH
to help you save some typing. However, the Mac OS X way to launch an application from the command line would beopen(1) is a command-line tool to interact with Launch Services.