Re: exporting PATH (without logging in again)
On Wed, Feb 16, 2005 at 10:51:07AM +0100, roberto wrote:
> Hello,
> i have a simple question regarding PATH environment variable:
>
> my PATH is actually set to
>
> ~$echo $PATH
> /bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin
>
>
> and i want to change it to:
> {$PATH}:/home/my_bin1:/home/my_bin2
>
>
> but i do NOT want to login again, but just simply get PATH changed when i open a new Konsole being
> already logged in
Put this:
export PATH=$PATH:/home/my_bin1:/home/my_bin2
in ~/.bashrc
This is explained in the INVOCATION section of the bash man page.
--
Russell Steicke
-- Fortune says:
I'm so broke I can't even pay attention.
Reply to: