Skip to content

Instantly share code, notes, and snippets.

@PSJoshi
Last active August 29, 2015 14:15
Show Gist options
  • Save PSJoshi/b035e54116f5a32eaac7 to your computer and use it in GitHub Desktop.
Save PSJoshi/b035e54116f5a32eaac7 to your computer and use it in GitHub Desktop.
Adding path in linux
#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