tldr/pages/linux/more.md

428 B

more

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

  • 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}}

  • Exit:

q

  • Display help about interactive commands:

h