List all bash environment variables

There are four easy ways to list all the environment variables in bash.

env
set
export
declare -x

The simple env command is probably the most commonly used.



Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 44.220.44.148
To prevent spam please submit by clicking the kitten: