LPI
102-400 · Question #82
102-400 Question #82: Real Exam Question with Answer & Explanation
Sign in or unlock 102-400 to reveal the answer and full explanation for question #82. The question stem and answer options stay visible for context.
Question
Which of the following commands puts the output of the command date into the shell variable mydate?
Options
- Amydate="$(date)"
- Bmydate="exec date"
- Cmydate="$((date))"
- Dmydate="date"
- Emydate="${date}"
Unlock 102-400 to see the answer
You've previewed enough free 102-400 questions. Unlock 102-400 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.