Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

TAIL(1)

NAME

tail − deliver the last part of a file

USAGE

tail [ +number [ −number ] [ lbc ] [ fr ] ] file

DESCRIPTION

Tail copies the named file to the standard output beginning at a designated place.  If you do not name a file, tail uses the standard input. 

Copying begins at a specified distance from the beginning, or from the end of the input.  Tail counts number in units of lines (the default), blocks, or characters, according to the appended option (see below). 

OPTIONS

+number
Begin copying number of units from the beginning of the input. 

−number Begin copying number of units from the end of the input. 

l Count in units of lines. 

b Count in units of blocks. 

c Count in units of characters. 

r Print lines from the end of the file in reverse order.  If this option is not specified, the entire file is printed this way. 

f Do not quit at the end of the file; repeatedly wait and try to read. 

CAUTIONS

Tails relative to the end of the file are stored in a buffer, and thus are limited in length. 

Various kinds of abnormal behavior may happen with character special files. 

RELATED INFORMATION

dd (1). 

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