# info > more

---
type: CommandReference
command: more
mode: man
section: 1
source: man-pages
---

## Quick Reference

- `more file` — page through file
- `more -d file` — prompt with instructions and no bell
- `more +10 file` — start at line 10
- `more +/pattern file` — start at first occurrence of pattern
- `more -s file` — squeeze multiple blank lines into one
- `more -c file` — paint screen from top, clearing remainder of each line
- `more -p file` — clear whole screen and display text (like `page`)
- `more -n 20 file` — set screenful size to 20 lines

## Name

more - file perusal filter for crt viewing

## Synopsis

`more [options] file ...`

## Options

### General

- `-d, --silent` — Prompt with "[Press space to continue, 'q' to quit.]" and show "[Press 'h' for instructions.]" instead of ringing bell on illegal key.
- `-l, --logical` — Do not pause after lines containing a form feed (`^L`).
- `-f, --no-pause` — Count logical lines rather than screen lines (long lines not folded).
- `-p, --print-over` — Do not scroll; clear whole screen and display text. Automatically enabled if executable is named `page`.
- `-c, --clean-print` — Do not scroll; paint each screen from top, clearing remainder of each line as displayed.
- `-s, --squeeze` — Squeeze multiple blank lines into one.
- `-u, --plain` — Suppress underlining (silently ignored for backwards compatibility).
- `-n, --lines` *number* — Specify number of lines per screenful. Overrides other sources.
- `-`*number* — Same as `--lines` *number*.
- `+`*number* — Start displaying each file at line *number*.
- `+/`*string* — Search for *string* in each file before starting to display.
- `--help` — Display help and exit.
- `-V, --version` — Display version and exit.

Options may also be set via the `MORE` environment variable (precede with dash). Command-line options override.

## Commands

Interactive commands may be preceded by a decimal number *k*.

- `h` or `?` — Display help summary.
- `SPACE` — Display next *k* lines (default: current screen size).
- `z` — Display next *k* lines (default: current screen size); argument becomes new default.
- `RETURN` — Display next *k* lines (default: 1); argument becomes new default.
- `d` or `^D` — Scroll *k* lines (default scroll size: 11); argument becomes new default.
- `q` or `Q` or `INTERRUPT` — Exit.
- `s` — Skip forward *k* lines (default: 1).
- `f` — Skip forward *k* screenfuls (default: 1).
- `b` or `^B` — Skip backwards *k* screenfuls (default: 1). Only works with files, not pipes.
- `'` — Go to place where last search started.
- `=` — Display current line number.
- `/`*pattern* — Search for *k*th occurrence of regular expression (default: 1).
- `n` — Search for *k*th occurrence of last regular expression (default: 1).
- `!`*command* or `:!`*command* — Execute *command* in a subshell.
- `v` — Start editor at current line. Uses `$VISUAL`, else `$EDITOR`, else `vi(1)`.
- `^L` — Redraw screen.
- `:n` — Go to *k*th next file (default: 1).
- `:p` — Go to *k*th previous file (default: 1).
- `:f` — Display current file name and line number.
- `.` — Repeat previous command.

## Examples

shell
more file.txt
more -d file.txt
more +10 file.txt
more +/pattern file.txt
more -s -c file.txt
## See Also

[less(1)](http://localhost/phpMan.php/man/less/1/markdown), [vi(1)](http://localhost/phpMan.php/man/vi/1/markdown)