cheat/cheatsheets/head

9 lines
151 B
Plaintext
Raw Normal View History

2013-09-02 16:09:38 +02:00
# To show the 10 first lines of file
2013-09-02 16:08:09 +02:00
head file
2013-09-02 16:09:38 +02:00
# To show the n first lines of file
2013-09-02 16:08:09 +02:00
head -l n file
# To show the n first bytes of file
head -b n file