cheat-fork-echo/cheatsheets/head

9 lines
151 B
Plaintext
Raw Normal View History

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