CompTIA Linux+ Powered by LPI (LX0-104) — Question 4
Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)
Answer options
- A. Synchronize the hardware and system clocks.
- B. Output date and time in different formats.
- C. Set the system clock.
- D. Set the hardware clock.
- E. Update the time via NTP.
Correct answer: B, C
Explanation
The date command can output the current date and time in various formats, which is why option B is correct. Additionally, it can set the system clock, making option C also correct. Options A, D, and E are incorrect as they do not pertain to the capabilities of the date command.