coreutils commands: move pages to common/ folder (#2442)
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
9ef7ec119a
commit
72b4f22ff9
19
pages/common/head.md
Normal file
19
pages/common/head.md
Normal 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}}`
|
Reference in New Issue
Block a user