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. | |
If more than a single file is specified, each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.
$ 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) | April 10, 2018 |
Main index | Section 1 | 日本語 | Deutsch | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.