单选题:What does the date=$(date) command do?
What does the date=$(date) command do? @[B](1)
A. Assigned the word “date” to the variable date.
B. Assigned the current date and time to the variable date.
C. Sets the current date and time to the contents of variable date.
D. Prints the contents of the variable date followed by the string “date”.
A.Assigned the word “date” to the variable date.
B.Assigned the current date and time to the variable date.
C.Sets the current date and time to the contents of variable date.
D.Prints the contents of the variable date followed by the string “date”.
答案:B
A. Assigned the word “date” to the variable date.
B. Assigned the current date and time to the variable date.
C. Sets the current date and time to the contents of variable date.
D. Prints the contents of the variable date followed by the string “date”.
A.Assigned the word “date” to the variable date.
B.Assigned the current date and time to the variable date.
C.Sets the current date and time to the contents of variable date.
D.Prints the contents of the variable date followed by the string “date”.
答案:B