Add Path To Bash

Open an editor like this:

vim ~/.bashrc

Add the end of the file add the follwing two lines (this will add the ~/bin dir to your path:

PATH=$PATH:$HOME/bin
export PATH

Now you can place executables in your ~/bin dir.


This page has been viewed 1386 times. First hit: 31-Oct-2015 19:12:20
Share email, Google+, Twitter, Facebook.
comments powered by Disqus
Table