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.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications