2014-05-12 13:24:05 +01:00
|
|
|
# more
|
|
|
|
|
2024-02-13 05:31:15 +00:00
|
|
|
> Interactively display a file, allowing scrolling and searching.
|
|
|
|
> See also: `less`.
|
|
|
|
> More information: <https://manned.org/more.1p>.
|
2014-05-12 13:24:05 +01:00
|
|
|
|
2016-01-07 17:31:27 +00: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
|
|
|
|
2024-02-13 05:31:15 +00:00
|
|
|
- Search case-[i]nsensitively when pressing "/":
|
|
|
|
|
|
|
|
`more -i {{path/to/file}}`
|
|
|
|
|
|
|
|
- Display a specific line:
|
2021-05-06 13:27:15 +01:00
|
|
|
|
|
|
|
`more +{{line_number}} {{path/to/file}}`
|
|
|
|
|
|
|
|
- Go to the next page:
|
2014-05-12 13:24:05 +01:00
|
|
|
|
2016-09-10 18:31:51 +01:00
|
|
|
`<Space>`
|
2014-05-12 13:24:05 +01:00
|
|
|
|
2016-10-11 20:34:23 +01:00
|
|
|
- Search for a string (press `n` to go to the next match):
|
2014-05-12 13:24:05 +01:00
|
|
|
|
2016-10-11 20:34:23 +01:00
|
|
|
`/{{something}}`
|
2014-05-12 13:24:05 +01:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Exit:
|
2014-05-12 13:24:05 +01:00
|
|
|
|
2015-10-28 08:33:06 +00:00
|
|
|
`q`
|
2021-05-06 13:27:15 +01:00
|
|
|
|
|
|
|
- Display help about interactive commands:
|
|
|
|
|
|
|
|
`h`
|