Multiple choice technology operating systems

Command used to display the contents of the file in reverse order.

  1. tac

  2. cat

  3. tail -f <filename>

  4. head

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

The tac command (cat spelled backwards) displays file contents in reverse order, line by line. Unlike cat (normal order), head (first lines), or tail -f (live monitoring), tac is specifically designed for reverse-order output.