coreutils commands: move pages to common/ folder (#2442)

This commit is contained in:
Felix Yan
2018-10-17 01:29:50 +08:00
committed by Starbeamrainbowlabs
parent 9ef7ec119a
commit 72b4f22ff9
36 changed files with 4 additions and 23 deletions

19
pages/common/head.md Normal file
View File

@@ -0,0 +1,19 @@
# head
> Output the first part of files.
- Output the first few lines of a file:
`head -n {{count_of_lines}} {{filename}}`
- Output the first few bytes of a file:
`head -c {{size_in_bytes}} {{filename}}`
- Output everything but the last few lines of a file:
`head -n -{{count_of_lines}} {{filename}}`
- Output everything but the last few bytes of a file:
`head -c -{{size_in_bytes}} {{filename}}`