Difficulty: Easy
Correct Answer: TREE | MORE
Explanation:
Introduction / Context:
On DOS systems, long outputs scroll past the screen quickly. Piping commands through the MORE filter makes them readable page by page. Understanding how to combine commands increases efficiency at the command line.
Given Data / Assumptions:
Concept / Approach:
Use a pipeline to send the output of TREE to MORE. This retains TREE’s hierarchical display while benefiting from paging. The syntax is straightforward and works with many commands that produce long output.
Step-by-Step Solution:
Verification / Alternative check:
Running TREE alone demonstrates scrolling. Running TREE | MORE clearly paginates the output, matching the problem’s requirement.
Why Other Options Are Wrong:
Common Pitfalls:
Accidentally using DELTREE instead of TREE (which can delete folders). Also, forgetting that MORE paginates any standard output, not only DIR output.
Final Answer:
TREE | MORE
Discussion & Comments