29 lines
413 B
Markdown
29 lines
413 B
Markdown
# more
|
|
|
|
> 交互式地显示文件,允许滚动和搜索。
|
|
> 另见:`less`。
|
|
> 更多信息:<https://manned.org/more.1p>。
|
|
|
|
- 打开文件:
|
|
|
|
`more {{path/to/file}}`
|
|
|
|
- 显示特定行:
|
|
|
|
`more +{{line_number}} {{path/to/file}}`
|
|
|
|
- 转到下一页:
|
|
|
|
`<Space>`
|
|
|
|
- 搜索字符串(按 `n` 转到下一个匹配项):
|
|
|
|
`/{{something}}`
|
|
|
|
- 退出:
|
|
|
|
`q`
|
|
|
|
- 显示有关交互命令的帮助:
|
|
|
|
`h` |