Which command is used to get the current date only? A. Date B. Time C. Second D. All of the above

Date
Time
Second
All of the above

The correct answer is A. Date.

The date command prints the current date and time in a human-readable format. The time command prints the current time in a human-readable format. The second command prints the current time in a numeric format.

The date command is the most efficient way to get the current date only. The time command and the second command will also print the current time, which is unnecessary if you only need the date.