mirror of
https://github.com/cheat/cheat.git
synced 2025-11-05 00:05:27 +01:00
Create head
This commit is contained in:
8
cheatsheets/head
Normal file
8
cheatsheets/head
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# To show the 10 first line of file
|
||||||
|
head file
|
||||||
|
|
||||||
|
# To show the n first line of file
|
||||||
|
head -l n file
|
||||||
|
|
||||||
|
# To show the n first bytes of file
|
||||||
|
head -b n file
|
||||||
Reference in New Issue
Block a user