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

Re: Effect of `export PATH' not pemanent?

On 2006-05-12, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:

> $ 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?


export PATH="$PATH:/sbin"

in your ~/.bashrc file.

Reply to: