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:
parent
2775bc93f8
commit
585b133a38
1 changed files with 20 additions and 0 deletions
20
pages.zh/linux/head.md
Normal file
20
pages.zh/linux/head.md
Normal 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 -{{数目}} {{路径/到/文件}}`
|
Loading…
Add table
Reference in a new issue