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: 3.21.21.209
To prevent spam please submit by clicking the kitten: