mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-08 02:57:22 +00:00
Update cheatsheets
This commit is contained in:
38
more
Normal file
38
more
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
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}}`
|
||||
|
||||
- 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`
|
||||
Reference in New Issue
Block a user