[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ".profile" & BASH in PATH?



Pollywog wrote:

> You could make a directory $HOME/bin and put your shell scripts there, and
> also add it to your PATH in your user .profile:
> 
> PATH=$PATH:/home/username/bin
> 
> export PATH
> 
> That would be better than just adding "." to your PATH.

even better might be using $HOME rather than "/home/username", since $HOME
is set already and homedir sometimes change.  

PATH=$PATH:$HOME/bin
(assumuing bash for login shell, others similar)

but  that's turning out kind'a academic talk... ;-)


 gerhard


Reply to: