1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 13:55:24 +02:00

less: add Chinese translation (#15496)

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
witt 2025-01-20 01:10:55 +08:00 committed by GitHub
parent 3002b1aa68
commit 363176202c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

36
pages.zh/common/less.md Normal file
View file

@ -0,0 +1,36 @@
# less
> 打开一个文件进行交互式阅读,允许滚动和搜索。
> 更多信息:<https://greenwoodsoftware.com/less/>.
- 打开一个文件:
`less {{路径/到/文件}}`
- 向下/向上翻页:
`<空格键> (向下), b (向上)`
- 转到文件末尾/开头:
`G (结尾), g (开头)`
- 向前搜索字符串(按 `n`/`N` 转到下一个/上一个匹配项):
`/{{关键字}}`
- 向后搜索字符串(按 `n`/`N` 转到下一个/上一个匹配项):
`?{{关键字}}`
- 跟踪当前打开的文件的输出:
`F`
- 在编辑器中打开当前文件:
`v`
- 退出:
`q`