Re: exporting PATH (without logging in again)

From: Russell Steicke (russells_at_adelie.cx)
Date: 02/16/05

  • Next message: Tomas Nalevajko: "Re: nvidia-kernel-source"
    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
    

  • Next message: Tomas Nalevajko: "Re: nvidia-kernel-source"

    Relevant Pages

    • Re: Firefox/Iceweasels weird close/quit behaviour
      ... Booting linux-image-2.6.18 with a USB disk attached is broke. ... Version: GnuPG v1.4.6 (GNU/Linux) ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: [OT] Forza Motorsport 2
      ... In article, Elder ... deciding it wasn't for you anyway, or until it broke (whichever comes ... would save you a fortune in buying fucked old shitters. ...
      (uk.rec.cars.modifications)
    • Re: [OT] Forza Motorsport 2
      ... deciding it wasn't for you anyway, or until it broke (whichever comes ... would save you a fortune in buying fucked old shitters. ...
      (uk.rec.cars.modifications)
    • Re: [OT] Forza Motorsport 2
      ... deciding it wasn't for you anyway, or until it broke (whichever comes ... would save you a fortune in buying fucked old shitters. ...
      (uk.rec.cars.modifications)
    • Re: [OT] Forza Motorsport 2
      ... deciding it wasn't for you anyway, or until it broke (whichever comes ... would save you a fortune in buying fucked old shitters. ...
      (uk.rec.cars.modifications)