Working on the command line · Question 6 of 12
Which command, without arguments, lists only the environment variables, that is, the exported ones?
1 answer is correct. Easy Created with AI
Show answer
Answer
- B env
Explanation
set also shows all non-exported shell variables and functions. printenv lists the environment as well.