What are my environment variables? [closed] What are my environment variables? [closed] shell shell

What are my environment variables? [closed]


I am not sure if thats what you want, but try printenv
This will show you all your environment variables.

About where they are stored
Linux: where are environment variables stored?

How to set Shell Environment Variables
http://www.codecoffee.com/tipsforlinux/articles/030.html

Happy reading :-)


Just execute env in a terminal.

Example output:

$ envTERM=xtermSHELL=/bin/bashUSER=joksnetUSERNAME=joksnetDESKTOP_SESSION=gnomePATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/gamesPWD=/home/joksnetGDM_KEYBOARD_LAYOUT=usLANG=en_US.utf8HOME=/home/joksnetDISPLAY=:0.0COLORTERM=gnome-terminal_=/usr/bin/env


Type export without any parameters.