HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

more — Interactively display a file, allowing scrolling and searching. See also: `less`. More information:

Submitted by: @import:tldr-pages··
0
Viewed 0 times
allowingcommandinteractivelyscrollingclifilemoredisplay

Problem

How to use the more command: Interactively display a file, allowing scrolling and searching. See also: less. More information: <https://manned.org/more.1p>.

Solution

more — Interactively display a file, allowing scrolling and searching. See also: less. More information: <https://manned.org/more.1p>.

Open a file:
more {{path/to/file}}


Display a specific line:
more +{{line_number}} {{path/to/file}}


Go to the next page:
<Space>


Search for a string (press <n> to go to the next match):
</>{{something}}<Enter>


Exit:
<q>


Display help about interactive commands:
<h>

Code Snippets

Open a file

more {{path/to/file}}

Display a specific line

more +{{line_number}} {{path/to/file}}

Go to the next page

<Space>

Search for a string (press `<n>` to go to the next match)

</>{{something}}<Enter>

Exit

<q>

Context

tldr-pages: common/more

Revisions (0)

No revisions yet.