add page for head in mac and linux
This commit is contained in:
11
pages/osx/head.md
Normal file
11
pages/osx/head.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# 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 {{number in kilobytes}} {{filename}}`
|
Reference in New Issue
Block a user