| Main index | Section 1 | 日本語 | Deutsch | Options |
The following options are available:
| | |
| Print bytes of each of the specified files. | |
| | |
|
Print
count
lines of each of the specified files.
Both count and bytes may also be specified with size suffixes supported by expand_number(3). | |
| | |
| Suppresses printing of headers when multiple files are being examined. | |
| | |
| Prepend each file with a header. | |
If more than a single file is specified, or if the
$ head -n 500 foo
head can be used in conjunction with tail(1) in the following way to, for example, display only line 500 from the file foo:
$ head -n 500 foo | tail -n 1
| HEAD (1) | June 12, 2022 |
| Main index | Section 1 | 日本語 | Deutsch | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Unix is the answer, but only if you phrase the question very carefully. | ” |
| — Belinda Asbell | ||