Cisco ASR 14000 Series Management Command Reference page 771

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

Advertisement

Utility Commands on Cisco IOS XR Software
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 wc
To count words, lines, or bytes in a file, use the utility wc command in EXEC mode or administration
EXEC mode.
Syntax Description
bytes
lines
words
file input-file
usage
WORD
Defaults
Output is displayed in the order bytes, words, and lines, even if the options are entered in a different
order.
Command Modes
EXEC
Administration EXEC
Command History
Release
Release 3.7.1
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Output is displayed in the following order:
OL-17231-01
utility wc [bytes] [lines] [words] [file input-file] [usage] [WORD]
(Optional) (-c) Displays the number of bytes in each input file.
(Optional) (-l) ("el") Displays the number of lines in each input file.
(Optional) (-w) Displays the number of words in each input file.
(Optional) Specifies the input file. The input-file argument specifies the
device, directory and filename of the input file. If no input file is specified,
then the standard input (keyboard) 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.
Modification
This command was introduced on the Cisco ASR 14000 Series Router.
When keywords are entered, the output appears in the order bytes, words, and lines.
When no keyword is entered, the output appears in the order lines, words, and bytes.
When any UNIX equivalent options are entered, the output appears in the order specified by the
options. For example, if the command utility wc -w -l -c is entered, the output appears in the order
words, lines, and bytes.
Cisco ASR 14000 Series Router System Management Command Reference
utility wc
SMR-769

Advertisement

Table of Contents
loading

Table of Contents