GIAC
GSNA · Question #188
GSNA Question #188: Real Exam Question with Answer & Explanation
Sign in or unlock GSNA to reveal the answer and full explanation for question #188. The question stem and answer options stay visible for context.
Question
John works as a Network Administrator for Perfect Solutions Inc. The company has a Debian Linux-based 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?
Options
- Aecho $VAR1
- Btouch VAR1
- Cexport VAR1
- Denv -u VAR1
Unlock GSNA to see the answer
You've previewed enough free GSNA questions. Unlock GSNA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.