home *** CD-ROM | disk | FTP | other *** search
- HEAD USER COMMANDS HEAD
-
-
-
- NAME
- head - display first few lines of specified files
-
- SYNOPSIS
- head [ -n ] [ filename ...]
-
- DESCRIPTION
- head copies the first n lines of each filename to the stan-
- dard output. If no filename is given, head copies lines
- from the standard input. The default value of n is 10
- lines.
-
- When more than one file is specified, head places a marker
- at the start of each file which looks like:
-
- ==> filename <==
-
- Thus, a common way to display a set of short files, identi-
- fying each one, is:
- gaia% head -9999 file1 file2 . . .
-
- EXAMPLE
- ia% head -4 head.doc tail.doc
- ==> head.doc <==
- .TH HEAD 1 "24 August 1983"
- .SH NAME
- head - display first few lines of specified files
- .SH SYNOPSIS
-
- ==> tail.doc <==
- .TH TAIL 1 "27 April 1983"
- .SH NAME
- tail - display the last part of a file
- .SH SYNOPSIS
-
- SEE ALSO
- tail
-