Updating environment variables

If it doesn't fit in another category, ask it here.
Post Reply
K0mA
Posts: 7
Joined: 2011/07/01 11:06:48

Updating environment variables

Post by K0mA » 2011/07/01 11:16:31

Hi,


Do you know a way instead of logout and login to update the envrinoment variables of a centos system?
For instance something like env-update in gentoo.

Centos 5
I think the version of the centos doesn't but I 'll post it for completion.


Thanks.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Updating environment variables

Post by pschaff » 2011/07/03 02:10:39

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

Presumable you mean the environment variables for a user. It depends on where you have made changes. If in .bashrc, for instance, then "source .bashrc". I don't know any general way to update everything except to log out and back in.

K0mA
Posts: 7
Joined: 2011/07/01 11:06:48

Re: Updating environment variables

Post by K0mA » 2011/08/11 12:41:20

Thanks for your reply pschaff.

If I want to update the environment for a specific application that is newly installed?

Post Reply

Return to “CentOS 5 - Miscellaneous Questions”