Re: exporting PATH (without logging in again)
From: Russell Steicke (russells_at_adelie.cx)
Date: 02/16/05
- Previous message: B S Srinidhi: "Re: nvidia-kernel-source"
- In reply to: roberto: "exporting PATH (without logging in again)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 16 Feb 2005 20:51:35 +0800 To: debian-user@lists.debian.org
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. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: B S Srinidhi: "Re: nvidia-kernel-source"
- In reply to: roberto: "exporting PATH (without logging in again)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|