snippetbashTip
more — Interactively display a file, allowing scrolling and searching. See also: `less`. More information:
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.