head
Installation
SKILL.md
head
Sample and display the first lines or bytes of files or streams.
Quick Start
- Verify
headis available:head --versionorman head - Establish the command surface:
man headorhead --help - Start with a read-only probe:
head -n 5 file.txt
Intent Router
Load only the reference file needed for the active request.
references/install-and-setup.md— Installing head (GNU, BSD) on macOS, Linux, Windowsreferences/cheatsheet.md— Common flags, line/byte counts, multiple files, quiet/verbose outputreferences/advanced-usage.md— GNU vs BSD differences, large file handling, stream processing, performancereferences/troubleshooting.md— Encoding issues, binary files, empty output, permission errors