HOWTO set Environment

Jeff Vian jvian10 at charter.net
Wed Oct 13 22:17:59 UTC 2004


On Wed, 2004-10-13 at 01:46, fellons wrote:
> Hi list.
> 
> Someone can tell me how set an environment variable ?
> 
> I try to set, on <userhome>/.bash_profile something like 
> TEMP=/tmp
you can use either of these.

    export TEMP=/tmp

or

    TEMP=/tmp
    export TEMP

look in /etc.profile for an example where many different variables are
set then exported.


> and after boot watch the result with "set" without param, but on list
> of vars env there are not my variable.
> Why ?
> My method are mistaked ?
> 
> Thank's to all.
> bye by fellons




More information about the fedora-list mailing list