AI232 Version 9.6x User’s Guide

AI232 Commands: tail

tail

Description

This command displays the last few lines of a file.

Command Type

shell

Formats

tail [ -nlines ] file_name ...



Note: More than one file name can be specified in this command.

Parameters

-n

Specifies that a line number value will be entered.

lines

Defines the number of lines to display. The default is 20.

file_name

Defines the name of the file to display.

Examples

This example displays the last 20 lines of file log.txt.

[232]tail -n 20

log.txt

 

 

 

Configuration has changed

 

 

 

13:39:08 050304

Sev=F Msg:

 

 

 

Unknown WINSLC

command TRACE

 

 

 

14:07:52 050304

Sev=F Msg:

 

 

 

Valid commands

are:

 

 

 

ARP

BREAK

CRESET

DIAG-TCONN

HELP

IP

LINK

PANIC

PING

PVCLIST

ROUTER

SHOW

STAEIA

STASLC

TCPOUTCONN

TELNET

UPDATE

XON-INTERVAL

 

 

14:21:01 050304

Sev=F Msg:

 

 

 

Valid commands

are:

 

 

 

ARP

BREAK

CRESET

DIAG-TCONN

HELP

IP

LINK

PANIC

PING

PVCLIST

ROUTER

SHOW

STAEIA

STASLC

TCPOUTCONN

TELNET

UPDATE

XON-INTERVAL

 

 

14:31:19 050304

Sev=F Msg:

 

 

 

The WINSLC command 'TELNET 75' must be executed from

 

the CLC's menu

4.18 for this SLC.

 

 

[232]

 

 

 

 

 

 

 

 

 

8-107

Page 279
Image 279
Kentrox AI232 Tail, This command displays the last few lines of a file, Specifies that a line number value will be entered