dec21140A ethernet driver for virtualpc, contributed by nicolas tittley.
[minix.git] / man / man1 / head.1
blob6e7907bd200ad3a6cfeddb620776f1971cdfb3f7
1 .TH HEAD 1
2 .SH NAME
3 head \- print the first few lines of a file
4 .SH SYNOPSIS
5 \fBhead\fR [\fB\-\fIn\fR | \fB\-n\fR \fIn\fR]\fR [\fIfile\fR] ...\fR
6 .br
7 .de FL
8 .TP
9 \\fB\\$1\\fR
10 \\$2
12 .de EX
13 .TP 20
14 \\fB\\$1\\fR
15 # \\$2
17 .SH OPTIONS
18 .FL "\-n \fIn\fR" "How many lines to print"
19 .FL "\-\fIn\fR" "How many lines to print (backwards-compatible)"
20 .SH EXAMPLES
21 .EX "head \-n 6" "Print first 6 lines of \fIstdin\fR"
22 .EX "head \-1 file1 file2" "Print first line of two files"
23 .SH DESCRIPTION
24 .PP
25 The first few lines of one or more files are printed.
26 The default count is 10 lines.
27 The default file is \fIstdin\fR.
28 .SH "SEE ALSO"
29 .BR tail (1).