PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

A.
mydate=”date”

B.
mydate=”$(date)”

C.
mydate=”${date}”

D.
mydate=”exec date”

E.
mydate=”$((date))”


Leave a Reply