head.1 (570B)
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 The 37 .Nm 38 utility is compliant with the 39 .St -p1003.1-2013 40 specification. 41 .Pp 42 The 43 .Op Fl Ns num 44 syntax is an extension to that specification.