How to configure common Environmental Variable In Red Hat Linux?
I cannot see the value of variable, What is a value of Environmental Variable name HOME, LANG, PWD, EDITOR?Â
How I can I see the value of variable?
If any one can help please!
I cannot see the value of variable, What is a value of Environmental Variable name HOME, LANG, PWD, EDITOR?Â
How I can I see the value of variable?
If any one can help please!
Hi Dunley,Â
You can easily configure environmental variable.
Local variable exist only in current shell instance.
Environmental Variable passed to sub shells.
Local variables can be exported in to environmental variable.
For example:
# export EDITOR=/usr/bin/pico ( Here you replaced the default editor by Pico)
To remove the value of an environmental variable:
# unset EDITOR
Common Environmental Variable:
HOME  path to user’s home directory
LANGÂ Â identification of default language
PWDÂ Â user current working directory
EDITORÂ default edits program for text
LESSÂ Â option to pass to the less command
To see the value of a variable:
# echo $USER to see the variable
Britnu Salu