add new chinese translations
This commit is contained in:
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/head>。
|
||||
|
||||
- 输出文件的前几行:
|
||||
|
||||
`head --lines {{count}} {{path/to/file}}`
|
||||
|
||||
- 输出文件的前几个字节:
|
||||
|
||||
`head --bytes {{count}} {{path/to/file}}`
|
||||
|
||||
- 输出文件的所有内容,但不包括最后几行:
|
||||
|
||||
`head --lines -{{count}} {{path/to/file}}`
|
||||
|
||||
- 输出文件的所有内容,但不包括最后几个字节:
|
||||
|
||||
`head --bytes -{{count}} {{path/to/file}}`
|
Reference in New Issue
Block a user