$ head -n 20 file.txt
$ head -c 100 file.bin
| -n | print the first N lines |
| -c | print the first N bytes |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.