list environment variable ubuntu linux

Just type the command  “env”
The output will be

JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.06
GDM_KEYBOARD_LAYOUT=us
LANG=en_IN
GNOME_KEYRING_PID=1844
MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
GDM_LANG=en_IN

 

 

Share

Leave a Reply

Your email address will not be published. Required fields are marked *