Linux environment variables on a machine are displayed with the command: printenv at the terminal. This will list all the environment variables defined.

$ printenv

$ env

$ env | more

$ set

$set | more

Leave a Reply

Your email address will not be published. Required fields are marked *