The more Command

All you need to do to use more is to type the command followed by the file or files you want to display. This command is similar to cat. The tricky part is memorizing when to use which and having that knowledge at your fingertips when you need it most. Let's take a look at the more command in action:

>more hosts.allow
(Output removed)

For this command you will need to have a file that is long enough to scroll off your screen and warrants the use of the command. If you type in the wrong command, or you specify a file that is not long enough to scroll off the screen, more will more or less do nothing for you. (Pun intended.)

When you use the more command with a long file, you immediately see something new on your terminal screen. ...

Get SAMS Teach Yourself Unix in 10 Minutes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.