1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 14:02:08 +02:00
tldr/pages.zh/linux/more.md

29 lines
430 B
Markdown

# more
> 以交互方式显示文件,允许滚动和搜索。
> 另请参阅:`less`。
> 更多信息:<https://manned.org/more>.
- 打开文件:
`more {{路径/到/文件}}`
- 显示特定行:
`more +{{行号}} {{路径/到/文件}}`
- 转到下一页:
`<空格键>`
- 搜索字符串(按 `n` 转到下一个匹配项):
`/{{关键字}}`
- 退出:
`q`
- 显示有关交互式命令的帮助:
`h`