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

Re: path



solomon@barak-online.net wrote:
> 
> Hi,
> 
> This is going to sound like a silly question, but after looking in every HOWTO
> I could think of and even on the net, I still can't find the answer to what
> must be a very trivial question.
> 
> How do I add a directory to the PATH? I want to add a directory that contains
> all sorts of scripts I use regularly. I tried:
> 
> PATH=$PATH:/data1/perl; export PATH
> 
> but that only adds the directory to the terminal session I'm in - I want this
> **always** added to the path when I boot.
> 

If you're interested complimenting you're knowledge in documentation lookup,
search for "bash configuration files..." :
$HOME/{.bashrc,.bash_login,..history,.bash_logout} , /etc/profile  

and I'm sure there are some more... ;-)

boaz.

-- 
/"\
\ /     ASCII Ribbon Campaign
 x      Against HTML Mail
/ \

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il