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