tldr/pages/common/more.md

33 lines
464 B
Markdown
Raw Permalink Normal View History

2014-05-12 13:24:05 +01:00
# more
2021-05-06 13:27:15 +01:00
> Open a file for interactive reading, allowing scrolling and search.
> More information: <https://manned.org/more>.
2014-05-12 13:24:05 +01:00
- Open a file:
2014-05-12 13:24:05 +01:00
2021-05-06 13:27:15 +01:00
`more {{path/to/file}}`
2014-05-12 13:24:05 +01:00
2021-05-06 13:27:15 +01:00
- Open a file displaying from a specific line:
`more +{{line_number}} {{path/to/file}}`
- Display help:
`more --help`
- Go to the next page:
2014-05-12 13:24:05 +01:00
`<Space>`
2014-05-12 13:24:05 +01:00
- Search for a string (press `n` to go to the next match):
2014-05-12 13:24:05 +01:00
`/{{something}}`
2014-05-12 13:24:05 +01:00
- Exit:
2014-05-12 13:24:05 +01:00
`q`
2021-05-06 13:27:15 +01:00
- Display help about interactive commands:
`h`