LPI
010-160 · Question #61
010-160 Question #61: Real Exam Question with Answer & Explanation
Sign in or unlock 010-160 to reveal the answer and full explanation for question #61. The question stem and answer options stay visible for context.
The Power of the Command Line
Question
The output of the program date should be saved in the variable actdat. What is the correct statement?
Options
- Aactdat=
date - Bset actdat=
date - Cdate > $actdat
- Ddate > $(actdat)
- Eactdat=date
Unlock 010-160 to see the answer
You've previewed enough free 010-160 questions. Unlock 010-160 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
#command substitution#shell variables#bash syntax#backticks