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-15 17:34:15 +02:00
head -n l file
2013-09-02 16:08:09 +02:00
# To show the n first bytes of file
2013-09-15 17:34:15 +02:00
head -c b file