cheat/cheat/cheatsheets/head

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