Exam4Training

Which of the following commands puts the output of the command date into the shell variable mydate?

Which of the following commands puts the output of the command date into the shell variable mydate?
A . mydate="$(date)"
B . mydate="exec date"
C . mydate="$((date))"
D . mydate="date"
E . mydate="${date}"

Answer: A

Latest 102-500 Dumps Valid Version with 194 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version