Đạt Michio
New member
Which command displays all the environment variables defined in the shell?
Answer
In Unix and Unix-like systems, the names of environment variables are case-sensitive.
The command env displays all environment variables and their values. The command printenv can also be used to print a single variable by giving that variable name as the sole argument to the command.
Answer
In Unix and Unix-like systems, the names of environment variables are case-sensitive.
The command env displays all environment variables and their values. The command printenv can also be used to print a single variable by giving that variable name as the sole argument to the command.