Environment variables

Windows environment variables are available for Inspection using a phrase like this:

Q: value of variable "PATH" of environment
A:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:
/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

You can find and return all the environment variables with a simple expression:

Q: (names of it, values of it) of variables of environment
A: BESClientactionMastheadPath, /etc/opt/BESClient/actionsite.afxm
A: BESClientConfigPath, /var/opt/BESClient/besclient.config
A: CVS_RSH, ssh
A: DISPLAY, :0
A: G_BROKEN_FILENAMES, 1
A: HISTSIZE, 1000
A: HOME, /root
A: HOSTNAME, t-rhel5-x86-1
A: INPUTRC, /etc/inputrc
A: KDEDIR, /usr
A: KDE_IS_PRELINKED, 1
A: KDE_NO_IPV6, 1
A: LANG, en_US.UTF-8
A: LD_LIBRARY_PATH, /opt/BESClient/bin
A: LESSOPEN, |/usr/bin/lesspipe.sh %25s
A: LOGNAME, root

As of version 8 of TEM, you can also inspect environment variables associated with processes on *nix machines:

Q: variables of environment of process 2186
A: BESClientactionMastheadPath = /etc/opt/BESClient/actionsite.afxm
A: BESClientConfigPath = /var/opt/BESClient/besclient.config
A: BESRelayConfigPath =
A: CONSOLE = /dev/pts/0
A: DISPLAY = :0