Multiple choice technology operating systems

_____________ is the command that writes the last 10 lines of a file to the screen.

  1. head

  2. last

  3. tail

  4. cat

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

The tail command displays the last 10 lines of a file by default. head shows first lines, cat displays entire file contents, and last shows login history (not file contents). tail is the standard Unix command for viewing file endings.