Viewing and processing text

Command more

Simple page-by-page text browsing

Linux · Bash examples · commands run on the selected server

When to use more

Use more to read text one screen at a time when a simple pager is available. It is often less feature-rich than less, but is useful for inspecting files over a basic terminal session.

Syntax

more [OPTIONS] FILE

Square brackets mark optional arguments; an ellipsis means repetition. Replace example file names, user names and server addresses with your own values.

Common options and arguments

-d
Show navigation tips.
-s
Compress consecutive empty lines.
+N
Start browsing from the line N.

Usage examples

Open text

more ./README.md

The document opens in an interactive paged view.

Start at line 50

more +50 ./app.log

Viewing begins near the requested starting line rather than the top.

View long output

ps aux | more

The process listing is paged instead of filling the terminal scrollback immediately.

Notes and limitations

  • Space shows the next screen, Enter shows the line, q ends the scan.
  • The feature set depends on the implementation; less is usually easier to navigate back and search.

Common questions and troubleshooting

How do I continue or exit the pager?

Space normally advances a screen and q quits. Available navigation features depend on the installed implementation.

Is more suitable for following a growing log?

It is primarily a pager. Use tail in follow mode for live log monitoring, or less if its installed version supports the required navigation.

Further help

Options vary by version and distribution. Check the installed documentation with this command: man more.