Which command allows you to view a text file page by page?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Boost your Linux skills with the CompTIA Linux+ Certification Exam simulator. Engage with multiple choice questions and detailed feedback. Master Linux concepts and prepare for your exam with confidence!

The command that allows you to view a text file page by page is "more." This command displays the contents of a file one screen (or page) at a time, allowing users to scroll through the text. When using "more," you can navigate through the file by pressing the spacebar to move to the next page or the Enter key to scroll line by line.

"More" is particularly useful for viewing larger files where displaying the entire content at once would be unwieldy. While there are other commands for similar purposes, "more" is traditionally one of the earliest and simplest commands used for paginating text output in a terminal.

It's worth noting that although "less" is another command that also allows viewing a file page by page—offering more features and flexibility—it did not get selected as the answer here. However, "more" serves as a foundational tool for paginating text files in Unix-like operating systems.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy