Home Account

Add Path To Bash

30-Aug-2011 17:11:33 dennis

Tags: 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.