Skip to content

Export Path OS X Lion

Today I searched how to export a path in OSX Lion for the installation of NetDiscover. After a few searches on Google I found the following blog post from Adam Jordens (link) explaining how Lion was managing the paths, I will resume it briefly.

On most of the Linux distributions, and on the previous versions of OS X, we had to edit the following file:

In it we could export all the PATH needed for any application.  But in OS X Lion we can directly edit the following directory

In there we can create files containing the path and it will be directly and automatically added to the path system.

For example :

  • $ sudo vim name_of_the_app

Then we can edit the file and add a path such as (depending on your path)

And that’s it.

Post a Comment

Your email is never published nor shared. Required fields are marked *