Files
cheatsheet-tldr/tldr/more
2024-06-19 00:14:24 +00:00

35 lines
524 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`
- Exit:
`q`
- Display help about interactive commands:
`h`