QuestionQ3

Shells y scripts

Which of the following commands shows all environment and shell variables?

  • A getargs
  • B lsenv
  • C ls
  • D env
  • E lsshell
Explanation

env prints the environment variables available to the current process. It is the standard command among the listed choices for displaying the environment.

Community Discussion

No comments yet. Be the first to start the discussion!