more
Explanation
The more command is a basic pager that displays text one screen at a time. While similar to less, it is more primitive. The primary limitation of more is that you can generally only navigate forward through a file, not backward (though some modern versions offer limited backward movement). less is generally preferred over more.
Basic Syntax
more [OPTION]... FILE...
Common Flags and Options
| Flag | Description |
|---|---|
-d | Prompt with "Press space to continue, 'q' to quit". |
-c | Do not scroll. Instead, clear the whole screen and then display the text. |
+NUM | Start at line number NUM. |
Real-world Examples
-
View a file one page at a time:
more /etc/passwd -
Start viewing from line 100:
more +100 large_file.txt