environment variables
How can I set environment variables?
for example for my locale settings, or if i need to set a path for something? |
LANG=en
LANGUAGE=en_GB:en LC_COLLATE=en_GB LC_CTYPE=en_GB LC_MESSAGES=en_GB LC_MONETARY=en_GB LC_NUMERIC=en_GB LC_TIME=en_GB you mean that kinda stuff? set a variable with VARIABLE=value on a command line or in a script file like /etc/rc.local, you must export all set veriables in a script file tho for them to be kept... export VARIABLE |
so in rc.local i would add these variables, and then under the variables (still in the rc.local file) i would export each variable i added?did i understand correctly? thanx...
|
yeah, there are example in /etc/rc.local and /etc/profile and a few others.
|
Quote:
export VARIABLE1 VARIABLE2 VARIABLE3... |
yeah, i did all this stuff in my rc.local but it didnt help jackshit...
can i try it in my bashrc file? |
All times are GMT -5. The time now is 06:18 PM. |