Home Account

Add Path To Bash

2011-08-30 17:11 dennis iversen

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.

This page has been requested 2618 times