Re: environmental varianbles

From: Pete Nesbitt (pete_at_linux1.ca)
Date: 02/24/04

  • Next message: John Nichel: "Re: Fate of RedHat"
    To: redhat-list@redhat.com
    Date: Mon, 23 Feb 2004 18:46:34 -0800
    
    

    On February 23, 2004 12:35 am, Kalin Mintchev wrote:
    > hi all..
    >
    > probablyt a stupid question:
    >
    > how do i make environmental variables to stick?
    > if i do:
    > export JAVA_HOME="/path/to/jdk"
    >
    > and then:
    >
    > # env
    >
    > i can see the java home defined. but if i log out and then log in again.
    > $JAVA_HOME desappeared from the env list. the same with PATH and others..
    > on rh8.0...
    >
    > thanks...

    For global environments use /etc/profile, for user specific (in bash) use
    ~/.bash_profile

    -- 
    Pete Nesbitt, rhce
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: John Nichel: "Re: Fate of RedHat"