John works as a Network Administrator for Perfect Solutions Inc. The company has a Debian
Linuxbased network. He is working on the bash shell in which he creates a variable VAR1. After
some calculations, he opens a new ksh shell. Now, he wants to set VAR1 as an environmental
variable so that he can retrieve VAR1 into the ksh shell. Which of the following commands will
John run to accomplish the task?
A.
touch VAR1
B.
env -u VAR1
C.
export VAR1
D.
echo $VAR1
Explanation:
Since John wants to use the variable VAR1 as an environmental variable, he will use the export
command to accomplish the task.