AI296 Version 9.8x User’s Guide

AI296 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 10 lines of file userlog.txt.

[296]tail

-n 10 userlog.txt

[14:09:46

072204]

User pubs from 10.40.5.20#1309 has exited the shell.

[14:14:50

072204]

User pubs from 10.40.5.20#1309 has entered the shell.

[16:17:53

072204]

User pubs from 10.40.5.20#1309 has exited the shell.

[16:17:53 072204]

User pubs from 10.40.5.20#1309 has logged out of the Destinat

ion Menu.

 

 

[16:27:23 072204]

User pubs from 10.40.5.20#1565 has logged into the Destinatio

n Menu.

 

 

[16:27:25

072204]

User pubs from 10.40.5.20#1565 has entered the shell.

[17:44:07

072204]

User pubs from 10.40.5.20#1565 has exited the shell.

[17:44:18 072204]

User pubs from 10.40.5.20#1565 has logged out of the Destinat

ion Menu.

 

 

[09:15:28 072304]

User pubs from 10.40.5.20#1205 has logged into the Destinatio

n Menu.

 

 

[09:15:29

072304]

User pubs from 10.40.5.20#1205 has entered the shell.

[296]

 

 

 

 

 

9-103

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