printenv – Print All/Part of Environment
Summary:
printenv prints environment variables with its Name and Value.
Examples:
$ printenv — Print all Env variables and its value.
$ printenv HOSTNAME — Print HOSTNAME value.
$ printenv SHELL TERM — Print SHELL and TERM values.
Read: man printenv