Which of the following commands displays all environment and shell variables?
A. getargs
B. lsenv
C. ls
D. env
E. lsshell
Which of the following commands displays all environment and shell variables?
A. getargs
B. lsenv
C. ls
D. env
E. lsshell
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