Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ head(1) — OSF/1 1.0 (TIN) MIPS

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cat(1)

more(1)

/page(1)

pg(1)

tail(1)

head(1)  —  Commands

OSF

NAME

head − Displays the beginning of files

SYNOPSIS

head [-count] [file ...]

The head command prints the first count lines of each of the specified files to standard output. 

FLAGS

-countSpecifies the number of lines to display.  The default count is 10. 

DESCRIPTION

If you do not specify a file, head reads standard input. 

EXAMPLES

To display the first 5 lines of a file called test, enter:

head -5 test

RELATED INFORMATION

Commands:  cat(1), more(1)/page(1), pg(1), tail(1). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026