mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 05:22:09 +02:00
more: split util-linux and POSIX implementations (#12171)
* more: add page --------- Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
This commit is contained in:
parent
4845e7cc04
commit
2624ea6a30
2 changed files with 37 additions and 7 deletions
|
@ -1,13 +1,18 @@
|
|||
# more
|
||||
|
||||
> Open a file for interactive reading, allowing scrolling and search.
|
||||
> More information: <https://manned.org/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}}`
|
||||
|
||||
- Open a file displaying from a specific line:
|
||||
- Search case-[i]nsensitively when pressing "/":
|
||||
|
||||
`more -i {{path/to/file}}`
|
||||
|
||||
- Display a specific line:
|
||||
|
||||
`more +{{line_number}} {{path/to/file}}`
|
||||
|
||||
|
@ -26,7 +31,3 @@
|
|||
- Display help about interactive commands:
|
||||
|
||||
`h`
|
||||
|
||||
- Display help:
|
||||
|
||||
`more --help`
|
||||
|
|
29
pages/linux/more.md
Normal file
29
pages/linux/more.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue