Bird
0
0

Which command will let you view a file named notes.txt page by page, allowing you to scroll backward and forward?

easy📝 Conceptual Q2 of 15
Linux CLI - Viewing and Editing Files
Which command will let you view a file named notes.txt page by page, allowing you to scroll backward and forward?
Amore notes.txt
Bless notes.txt
Ccat notes.txt
Dhead notes.txt
Step-by-Step Solution
Solution:
  1. Step 1: Identify commands that allow paginated viewing

    more and less allow paginated viewing, but cat and head do not paginate.
  2. Step 2: Choose the command that supports backward and forward scrolling

    less supports both backward and forward scrolling, unlike more.
  3. Final Answer:

    less notes.txt -> Option B
  4. Quick Check:

    Paginated backward/forward = less notes.txt [OK]
Quick Trick: Use less for flexible scrolling through files [OK]
Common Mistakes:
MISTAKES
  • Choosing more which lacks backward scroll
  • Using cat which dumps all at once
  • Using head which shows only start
  • Confusing commands for editing

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes