Cisco ASR 14000 Series Management Command Reference page 766

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

utility tail
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
utility tail
To copy the end portion of a file or the standard input, use the utility tail command in EXEC mode or
administration EXEC mode.
Syntax Description
bytes
continuous
count number
file input-file
usage
WORD
Defaults
If the utility tail command is entered without keywords or arguments, the last 10 lines of the standard
input are copied.
Command Modes
EXEC
Administration EXEC
Cisco ASR 14000 Series Router System Management Command Reference
SMR-764
utility tail [bytes] [continuous] [count number] [file input-file] [usage] [WORD]
(Optional) (-c) Copies the end of the file measured in bytes. The default is
lines.
(Optional) (-f) Continues to copy data from the end of the file after the last
line is reached. The operation pauses for 1 second, and then resumes in a
continuous loop.
The input file must be a regular file, not a terminal or a FIFO special file (a
named pipe).
(Optional) (-n) Copies the number of lines (default) or bytes specified with
the number argument. The number range is 0 to 4294967295. By default, the
last 10 lines are copied.
The number argument is a decimal integer that defines the location in the file
to begin copying:
Note
(Optional) Directory path and filename for the input file. If no file is
specified, then the standard input is used.
The input-file syntax is:
device:[/directory-path]/filename
Include the alias for the device argument, followed by a colon, and,
optionally, the name of a directory. Use the online help system to display the
available storage devices and network protocols.
(Optional) Displays the UNIX options supported by this command.
(Optional) UNIX command-line option string. The maximum number of
characters is 20.
Include the plus (+) character to copy from the beginning of the file.
Include the minus (-) character to copy from the end of the file.
Do not include a character to copy from the end of the file.
Select the bytes keyword to copy the information measured in a
count of bytes.
Utility Commands on Cisco IOS XR Software
OL-17231-01

Advertisement

Table of Contents
loading

Table of Contents