How to add some_path to Path on Ubuntu

1. Open to edit .bashrc

 pico ~/.bashrc

2. Print following

 PATH=$PATH:some_path
 export PATH

3. Save .bashrc

4. Run .bashrc

 source ~/.bashrc
 

It` done, you can look, what is in your Path:

 echo $PATH
 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games/:some_path
    
dev/ubuntu/path.txt · Последние изменения: 2011/04/15 09:42 — alexeyb
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0