Bird
0
0

What is the default number of lines shown by the tail command when run without options?

easy📝 Conceptual Q1 of 15
Linux CLI - Viewing and Editing Files
What is the default number of lines shown by the tail command when run without options?
A5 lines
B1 line
C20 lines
D10 lines
Step-by-Step Solution
Solution:
  1. Step 1: Understand the default behavior of tail

    The tail command by default shows the last 10 lines of a file.
  2. Step 2: Confirm the default number of lines

    Without any options, tail outputs 10 lines from the end of the file.
  3. Final Answer:

    10 lines -> Option D
  4. Quick Check:

    Default tail lines = 10 lines [OK]
Quick Trick: Tail shows last 10 lines by default [OK]
Common Mistakes:
  • Assuming tail shows 5 lines by default
  • Confusing head and tail defaults
  • Thinking tail shows entire file

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes