π¦ ClawHub
Head Tool
by @dinghaibin
Display the first lines of files. Use for quickly previewing file contents, checking headers, or sampling data.
π‘ Examples
# Show first 10 lines
head-tool data.csvShow first 20 lines
head-tool -n 20 log.txtShow first 100 bytes
head-tool -c 100 config.yaml
βοΈ Configuration
-n N: Show first N lines (default: 10)-c N: Show first N bytes instead of lines-q: Quiet mode (suppress filename headers)TERMINAL
clawhub install head-tool