head man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

HEAD(1)			  BSD General Commands Manual		       HEAD(1)

NAME
     head — display first lines of a file

SYNOPSIS
     head [-qv] [-n count] [-c byte_count] [file ...]

DESCRIPTION
     This filter displays the first count lines 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 -c byte_count is specified, head counts
     bytes instead of lines.

     If more than a single file is specified, or the -v option is used, each
     file is preceded by a header consisting of the string “==> XXX ≤=” where
     “XXX” is the name of the file.  The -q flag disables the printing of the
     header in all cases.

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

COMPATIBILITY
     The historic command line syntax of head is supported by this implementa‐
     tion.

     This command is mostly compatible with GNU extensions to head.

SEE ALSO
     tail(1)

STANDARDS
     The head utility conforms to IEEE Std 1003.2-1992 (“POSIX.2”).

HISTORY
     The head utility appeared in 3.0BSD.  It was enhanced to include the -c,
     -q, and -v options for NetBSD 2.1.

BSD				  May 4, 2004				   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net