Miscellaneous Features SHORT
COMMAND COVERED

printenv
- print out the environment

Showing shell environment variables using printenv

Occasionally you'll need to be aware of various settings that have been added to your current shell environment. In those cases you can use the following:

printenv

The results show a list of common variables such as HOME, PATH, and USER, as well as many other environment variables. As an alternative, you can also use the following abbreviated command:

env