LPIC-1 Exam 102, Part 2 of 2, version 5.0 102-500 Question # 36 Topic 4 Discussion

LPIC-1 Exam 102, Part 2 of 2, version 5.0 102-500 Question # 36 Topic 4 Discussion

102-500 Exam Topic 4 Question 36 Discussion:
Question #: 36
Topic #: 4

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}"


Get Premium 102-500 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.