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

Which of the following commands displays all environment and shell variables?
A. getargs
B. lsenv
C. ls
D. env
E. lsshell

Download Printable PDF. VALID exam to help you PASS.

One thought on “Which of the following commands displays all environment and shell variables?

  1. The right answer is “set”, but it is not here.

    $ flower=green
    $ echo $flower
    green
    $ set | grep flower
    flower=green
    $ env | grep flower
    $ export flower
    $ env | grep flower
    flower=green

    1
    5

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.