Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dd(1)

tail(1)

NAME

tail − print lines from file

SYNTAX

tail [ ±[number][lbc][fr] ] [ file ]

DESCRIPTION

The tail command copies the named file to the standard output beginning at a designated place. If no file is named, the standard input is used.

Copying begins at distance +number from the beginning, or −number from the end of the input.  The number is counted in units of lines, blocks or characters, according to the appended option l, b or c.  When no units are specified, counting is by lines. 

Specifying r causes tail to print lines from the end of the file in reverse order. The default for r is to print the entire file this way.  Specifying f causes tail not to quit at end of file , but rather to reread the file repeatedly. 

RESTRICTIONS

The results of the tail command are unpredictable with character special files.

SEE ALSO

dd(1)

Commands

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