head
| Function | First N lines of a page body, or of stdin (pipe). Default N is 10. |
| Options | head, head N, head -n N, with a page PATH or piped input. |
| Limitations | A bare head with no path and no pipe reports a missing operand. |
Examples
Section titled “Examples”$ head ./page1$ head 3 ./page1$ ls | head 3$ cat ./page1 | head