How to setup environment variables??
Hello Friends,
I got some material on how to setup env. var. on RH7.1 but each one of them were telling different different file modifications. Can anyone tell me exact and most formal way of adding env. var. for all users as well as for single user?? Thank You.:newbie: |
in /etc/rc.local:
SOMEVARIABLE=value export SOMEVARIABLE |
Typically to set environment variables for all users you would edit /etc/profile. For specific uses you would edit ~/.profile or ~/.bashrc ~/.cshrc depending on your shell.
HTH Jamie... |
All times are GMT -5. The time now is 07:14 PM. |