cheat-fork-echo/cheatsheets/head
2013-09-19 19:45:28 -04:00

9 lines
151 B
Plaintext

# To show the first 10 lines of file
head file
# To show the first N lines of file
head -n N file
# To show the first N bytes of file
head -c N file