head command for MoonX.
moonx cli/head input.txt
moonx cli/head -n 3 input.txt
moonx cli/head -c 16 input.bin| Option | Description |
|---|---|
| -q, --quiet | Suppress file headers. |
| -v, --verbose | Always show file headers. |
| -z, --zero-terminated | Use NUL-delimited records. |
| -n VALUE, --lines VALUE | Select N records. Default: 10. |
| -c VALUE, --bytes VALUE | Select N bytes. |
| --help | Show help. |
| --version | Show the version. |