Difficulty: Easy
Correct Answer: TYPE filename | MORE
Explanation:
Introduction / Context:
MS-DOS lacks a native paging viewer like UNIX's less, so technicians often combine built-in commands to examine long text files without flooding the screen. Understanding the standard pipeline for paging is important during troubleshooting and reviewing logs or configuration files in DOS environments.
Given Data / Assumptions:
Concept / Approach:
TYPE outputs the contents of a file to standard output. MORE paginates text by pausing after each screenful. Piping the output of TYPE into MORE (TYPE filename | MORE) achieves page-by-page viewing. The options using CAT and pg are UNIX-style and not valid in DOS, and MORE filename alone does not read the file in MS-DOS; it expects input from STDIN or a pipe.
Step-by-Step Solution:
Verification / Alternative check:
Running TYPE CONFIG.SYS | MORE on a DOS machine demonstrates pagination, confirming the correct usage pattern.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
TYPE filename | MORE.
Discussion & Comments