You must enable Javascript on your browser for the site to work optimally and display sections completely.

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

comments powered by Disqus

ubuntu printenv system administration environment variables

Views: 1641