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.
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.