Lumalab

Search entriesDeutsch English
  
User:   Password:    
Forum > Linux > Add local bin directory into path
StartStopPage 1 of 1StopEnde
Author: EngysTopic: Add local bin directory into pathLast change: 2013-11-27 21:51:48 

If you have no local bin directory create one with:

mkdir ~/bin

To reach your scripts in local bin from everywhere you can edit .bashrc with:

vi ~/.bashrc

and add the following lines:

PATH=$PATH:~/bin
export PATH

to reload .bashrc:

source .bashrc

UpReply 
StartStopPage 1 of 1StopEnde