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

Re: Effect of `export PATH' not pemanent?



On (12/05/06 11:13), Rodolfo Medina wrote:
> Hi.
> 
> I do:
> 
> $ echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
> 
> , then
> 
> $ export PATH="$PATH:/sbin"
> $ echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/sbin
> 
> and everything all right; but the effect of `export PATH'
> is not permanent: after a while, or in another terminal, again:
> 
> $ echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
> 
> . How to make the effect of `export PATH' permanent,
> and why is it not?

Check out .bashrc and .bash_profile in your home directory.  See man
bash

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business




Reply to: