EasyManuals Logo
Home>Cisco>Switch>MDS 9000 Series

Cisco MDS 9000 Series Command Reference

Cisco MDS 9000 Series
1464 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1365 background imageLoading...
Page #1365 background image
Send documentation comments to mdsfeedback-doc@cisco.com
23-13
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 23 T Commands
tail
tail
To display the last lines (tail end) of a specified file, use the tail command in EXEC mode.
tail filename [number-of-lines]
Syntax Description
Defaults Displays the last 10 lines.
Command Modes EXEC mode.
Command History
Usage Guidelines You need two separate CLI terminals to use this command. In one terminal, execute the run-script or any
other desired command. In the other, issue the tail command for the mylog file. On the second terminal
session, you will see the last lines of the mylog file (as it grows) that is being saved in response to the
command issued in the first terminal.
If you specify a long file and would like to exit in the middle, enter Ctrl-c to exit this command.
Examples The following example displays the last lines (tail end) of a specified file.
switch# run-script slot0:test mylog
In another terminal, issue the tail command for the mylog file.
switch# tail mylog
config terminal
In the second CLI terminal, you see the last lines of the mylog file (as it grows) that is being saved in
response to the command issued in the first terminal.
filename The name of the file for which you want to view the last lines.
number-of-lines (Optional) The number of lines you want to view. The range is 0 to 80 lines.
Release Modification
1.0(2) This command was introduced.

Table of Contents

Other manuals for Cisco MDS 9000 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco MDS 9000 Series and is the answer not in the manual?

Cisco MDS 9000 Series Specifications

General IconGeneral
BrandCisco
ModelMDS 9000 Series
CategorySwitch
LanguageEnglish

Related product manuals