While working with MS-DOS, which command is used to display the contents of a file and pause the display after each screenful of information? A. TYPE filename | MORE B. CAT filename | MORE C. CAT filename | pg D. MORE filename E. None of the above

TYPE filename | MORE
CAT filename | MORE
CAT filename | pg
MORE filename E. None of the above

The correct answer is A. TYPE filename | MORE.

The TYPE command displays the contents of a file on the screen. The MORE command pauses the display after each screenful of information. When used together, the TYPE and MORE commands allow you to view the contents of a large file one screen at a time.

The CAT command is similar to the TYPE command, but it does not pause the display. This can be useful if you want to quickly view the contents of a small file.

The PG command is used to page through a file. It is similar to the MORE command, but it allows you to specify the number of lines that should be displayed on each page.

The E option is not a valid command.

Exit mobile version