Multiple choice technology operating systems

Command for display date?

  1. echo

  2. date

  3. head

  4. grep

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The date command displays or sets the system date and time. When run without arguments, it shows the current date and time according to the system clock. The other options: echo displays text, head shows the beginning of files, and grep searches for patterns in files.