Multiple choice technology operating systems

command used to see the last few lines of a file?.

  1. less

  2. tail

  3. more

  4. cat

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

The tail command specifically shows the last few lines (default 10) of a file. This is perfect for monitoring log files or checking recent additions. You can use 'tail -n' to specify how many lines to display, or 'tail -f' to follow new additions in real-time.