Which command displays the date on the command line?
-
DATE
-
TIME
-
DATE-TIME
-
$DATE
B
Correct answer
Explanation
The TIME command displays the current time on the command line in most operating systems. The DATE command typically displays only the date without time. DATE-TIME is not a standard command and $DATE suggests a variable syntax rather than a command. The question specifically asks about displaying date/time information, and TIME is the standard command.