1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/osx/head.md

12 lines
178 B
Markdown
Raw Normal View History

2019-02-26 11:13:38 +08:00
# head
> 输出文件的开头部分.
- 输出文件的前几行:
`head -n {{行数}} {{文件名}}`
- 输出文件的前几个字节:
`head -c {{字节数}} {{文件名}}`