List All Environment Variables Command on Ubuntu
The command printenv is what you need to use.
Example:
$prompt> printenv
If you feel so inclined, feel free to pipe it to less, more or grep.
$prompt> printenv | grep PATH
ubuntu printenv system administration environment variables
Views: 1917