1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/common/more.md

30 lines
465 B
Markdown
Raw Normal View History

2022-09-03 23:18:36 +08:00
# more
> 交互式地显示文件,允许滚动和搜索。
> 请参阅:`less`.
> 更多信息:<https://manned.org/more.1p>.
2022-09-03 23:18:36 +08:00
- 打开一个文件:
`more {{路径/到/文件}}`
- 打开一个文件,从特定行开始显示:
`more +{{行号}} {{路径/到/文件}}`
- 转到下一页:
`<空格>`
- 搜索一个字符串(按 `n` 键跳转到下一个匹配):
`/{{字符串}}`
- 退出:
`q`
- 显示关于交互式命令的帮助:
`h`