head.1 (513B)
1 .Dd October 8, 2015 2 .Dt HEAD 1 3 .Os sbase 4 .Sh NAME 5 .Nm head 6 .Nd display initial lines of files 7 .Sh SYNOPSIS 8 .Nm 9 .Op Fl n Ar num | Fl Ns Ar num 10 .Op Ar file ... 11 .Sh DESCRIPTION 12 .Nm 13 writes 14 .Ar num 15 lines of each 16 .Ar file 17 to stdout. 18 If no 19 .Ar file 20 is given 21 .Nm 22 reads from stdin. 23 .Sh OPTIONS 24 .Bl -tag -width Ds 25 .It Fl n Ar num | Fl Ns Ar num 26 Display initial 27 .Ar num 28 | 29 .Sy N 30 lines. 31 Default is 10. 32 .El 33 .Sh SEE ALSO 34 .Xr tail 1 35 .Sh STANDARDS 36 POSIX.1-2013. 37 .Pp 38 The 39 .Op Fl Ns num 40 syntax is an extension to that specification.