*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> head (1)              
Title
Content
Arch
Section
 

HEAD(1)

Contents


NAME    [Toc]    [Back]

     head -- display first lines of a file

SYNOPSIS    [Toc]    [Back]

     head [-n count | -c bytes] [file ...]

DESCRIPTION    [Toc]    [Back]

     This filter displays the first count lines or bytes of each of the specified
 files, or of the standard input if no files are specified.  If count
     is omitted it defaults to 10.

     If more than a single file is specified, each file is preceded by a
     header consisting of the string ``==> XXX <=='' where ``XXX'' is the name
     of the file.

DIAGNOSTICS    [Toc]    [Back]

     The head utility exits 0 on success, and >0 if an error occurs.

SEE ALSO    [Toc]    [Back]

      
      
     tail(1)

HISTORY    [Toc]    [Back]

     The head command appeared in PWB UNIX.


FreeBSD 5.2.1			 June 6, 1993			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
ex Tru64 Edits lines in a file interactively, with screen display.
paste Tru64 Joins corresponding lines of several files or subsequent lines in one file
paste HP-UX merge same lines of several files or subsequent lines of one file
paste IRIX merge same lines of several files or subsequent lines of one file
head OpenBSD display first few lines of files
look OpenBSD display lines beginning with a given string
look Linux display lines beginning with a given string
look FreeBSD display lines beginning with a given string
nl Tru64 Numbers lines in a file
rev FreeBSD reverse lines of a file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service