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

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.