N.B. If you're looking for my main blog, it lives at: http://bjkeefe.blogspot.com/

-------------------------------------------------

Wednesday, September 27, 2006

PATH problems

Status: unresolved

I need to figure out a way to get my PATH set upon login -- sys default is mostly okay, but I'd like to add ~/bin to it. Modifying .bash_profile didn't seem to do the trick. Is it another file that needs it, like .bashrc, say? Or do I need an "export" command or something similar? Or should the properties of the terminal be set so that it runs a login process?

See http://www.debian.org/doc/manuals/reference/examples/_bashrc for a starting point.

2 comments:

Unknown said...

I usually put a "export PATH=~/bin:$PATH" in ~/.bashrc, and always works.

bjkeefe said...

Thanks. My Linux system is in storage at the moment, but I'll try this when I unpack it again.