Last active
August 29, 2015 14:15
-
-
Save PSJoshi/b035e54116f5a32eaac7 to your computer and use it in GitHub Desktop.
Adding path in linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Edit .bashrc in your home directory and add the following line: | |
export PATH=/usr/local/bin:/opt/bro/bin:$PATH | |
#To source your .bashrc, simply type | |
$ source .bashrc | |
in the home directory. | |
# useful information in this thread - http://askubuntu.com/questions/60218/how-to-add-a-directory-to-my-path | |
# Remember the order of execution of files is: /etc/environment -> /etc/profile -> /etc/bash.bashrc -> /home/<user>/.profile -> /home/<user>/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment