mirror of https://github.com/CrimsonTome/tldr.git
34 lines
509 B
Markdown
34 lines
509 B
Markdown
# 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}}`
|
|
|
|
- Search case-[i]nsensitively when pressing "/":
|
|
|
|
`more -i {{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`
|