CompTIACompTIA
XK0-005 · Question #201
XK0-005 Question #201: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #201. The question stem and answer options stay visible for context.
Troubleshooting
Question
An administrator notices the HISTSIZE variable is 50, using the commands below: HISTSIZE=50 export HISTSIZE The administrator rechecks the HISTSIZE value using echo HISTSIZE but gets no value. Which of the following commands should the administrator use to retrieve its value?
Options
- Aprintenv | grep $HISTSIZE
- Becho HISTSIZE
- Cprintf HISTSIZE
- Dgrep $HISTSIZE
Unlock XK0-005 to see the answer
You've previewed enough free XK0-005 questions. Unlock XK0-005 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.
Topics
#Shell Variables#Environment Variables#Command-Line Utilities#Variable Expansion