LIT Commands

TAIL

TAIL {outfile=} <wildspec> {/switches}

The TAIL command is similar to the eponymous UNIX command and is used to display or copy to another file the last N lines of a specified file (or wildcard list of files).

Switches

Switch

Effect of Switch

/D

The delete switch causes TAIL to overwrite the existing outspec.

L:##

The lines switch causes TAIL to display or copy ## lines. The default is 20.

/Q

The query switch causes TAIL to prompt for confirmation on each file.

/?

Writes switch listing and usage info to the screen.

 

See the notes on HEAD for examples.