HEAD.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH HEAD 1
- .SH NAME
- head - print the first few lines of a file
- .SH SYNOPSIS
- fBheadfR [fB-fInfR]fR [fIfilefR] ...fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-fInfR" "How many lines to print"
- .SH EXAMPLES
- .EX "head -6" "Print first 6 lines of fIstdinfR"
- .EX "head -1 file1 file2" "Print first line of two files"
- .SH DESCRIPTION
- .PP
- The first few lines of one or more files are printed.
- The default count is 10 lines.
- The default file is fIstdinfR.
- .SH "SEE ALSO"
- .BR tail (1).