Documented in Volume 1 of the UNIX Programmers Manual.
% printenv lists the setting of variables in the current environment. Example: HOME=/usr/bill SHELL=/bin/csh PATH=:/usr/ucb:/bin:/usr/bin:/usr/local TERM=adm3a USER=bill
% printenv TERM lists the contents of the environment variable TERM to show the type of terminal configured.
To Index