Tail - Cisco AP775A - Nexus Converged Network Switch 5010 Command Reference Manual

Cisco nexus 5000 series command reference, release 4.1(3)n1(1) (ol-16599-01, august 2009)
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Chapter 1
Basic System Commands
S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m

tail

To display the last lines of a file, use the tail command.
Syntax Description
filesystem:
//server/
directory
filename
lines
There can be no spaces in the filesystem://server/directory/filename string. Individual elements of this
Note
string are separated by colons (:) and slashes (/).
Command Default
Displays the last 10 lines.
Command Modes
EXEC mode
Command History
Release
4.0(0)N1(1a)
Examples
This example shows how to display the last 10 lines of a file:
switch# tail bootflash:startup.cfg
This example shows how to display the last 20 lines of a file:
switch# tail bootflash:startup.cfg 20
Related Commands
Command
cd
copy
dir
pwd
OL-16599-01
tail [filesystem: [//server/]] [directory] filename [lines]
(Optional) Name of the file system. Valid values are bootflash, modflash,
or volatile.
(Optional) Name of the server. Valid values are ///, //module-1/, //sup-1/,
//sup-active/, or //sup-local/. The double slash (//) is required.
(Optional) Name of a directory. The directory name is case sensitive.
Name of the file to display. The filename is case sensitive.
(Optional) Number of lines to display. The range is from 0 to 80.
Modification
This command was introduced.
Description
Changes the current working directory.
Copies files.
Displays the directory contents.
Displays the name of the current working directory.
Cisco Nexus 5000 Series Command Reference
tail
1-117

Advertisement

Table of Contents
loading

Table of Contents