1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 00:42:08 +02:00

head: add Chinese translation (#15493)

* head: add zh translation

* head: update chinese translation
This commit is contained in:
witt 2025-01-15 18:19:36 +08:00 committed by GitHub
parent 2775bc93f8
commit 585b133a38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

20
pages.zh/linux/head.md Normal file
View file

@ -0,0 +1,20 @@
# head
> 输出文件的开头部分的内容。
> 更多信息:<https://www.gnu.org/software/coreutils/manual/html_node/head-invocation.html>.
- 输出文件的前几行:
`head --lines {{数目}} {{路径/到/文件}}`
- 输出文件的前几个字节:
`head --bytes {{数目}} {{路径/到/文件}}`
- 输出文件除最后几行之外的所有内容:
`head --lines -{{数目}} {{路径/到/文件}}`
- 输出文件除最后几个字节之外的所有内容:
`head --bytes -{{数目}} {{路径/到/文件}}`