Linux Terminal Glossary
›
File Viewing & Editing
head -c 100 file.txt
Category:
File Viewing & Editing
head -c 100 file.txt
Copy command
Print the first 100 bytes of a file
Prints the first 100 bytes (characters) of a file — useful for checking a binary file header.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.