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.
Updating environment variables
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Updating environment variables
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.
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.
Re: Updating environment variables
Thanks for your reply pschaff.
If I want to update the environment for a specific application that is newly installed?
If I want to update the environment for a specific application that is newly installed?