Pages

Wednesday, 29 June 2016

Permanently add a variable to $PATH in Linux

Typically when we add a new path variable in Linux we will run something like:

export PATH=$PATH:/path/to/bin

If you wish to make this permanent we simply need to add the above line to:

vi ~/.profile

No comments:

Post a Comment