Cal Poly | NetApp
Setting Bash Environment Variables
If you are using the shell in Ubuntu and want to change your $PATH or $HOME variable permanently and not on a per session basis, the easiest way, IMO, is to simply edit ~/.bashrc. Adding the following line to .bashrc will add some directories to your $PATH variable:
‘export PATH=$PATH:/path/to/some/dirs:/path/to/some/more/dirs’
| Print article | This entry was posted by eosgood on July 3, 2010 at 2:39 pm, and is filed under Linux, Programming. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
![[Google]]( http://ericosgood.com/wp-content/plugins/easy-adsenser/google-light.gif)
about 2 months ago
A small but useful to remember note is that the path is searched start to finish and uses the first hit when looking for an executable. Make sure to order the folders such that the one you want is first!
I hit this on a system with five different versions of vim installed.
about 2 months ago
I think u could suck this dick with red lip stik, but don’t let it SMERE