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
Notifications