Kentrox AI296 User Manual

Page of 404
AI296 Version 9.8x User’s Guide
AI296 Commands: tail
9-103
tail
Description
This command displays the last few lines of a file.
Command Type
shell
Formats
tail [ -n 
lines
 ] 
file_name 
...

Note: More than one file name can be specified in this command.
Parameters
Examples
This example displays the last 
10
 lines of file 
userlog.txt
.
-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.
[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]