List the names and values of all environment variables or, with name, the value of the environment variable name.

      printenv [name]
      name  The name of the environment variable

“Everything you read in newspapers is absolutely true, except for that rare story of which you happen to have first-hand knowledge” ~ Erwin Knoll

Related macOS commands:

printenv page -
env - Display, set, or remove environment variables
set - Manipulate shell variables and functions

Copyright © 1999-2018
Some rights reserved