Cisco Support Tools 1.0 User Guide How to Use the WC Utility 271
How to Use the WC Utility
Use the WC utility to view a count of characters, words, or lines in a file.

To Access WC from the Dashboard

To run WC from the Support Tools Dashboard:
1. Use the System Select screen to select the system you want to work with.
2. From the Dashboard menu, select Cisco Common Tools > WC.
3. In the Arguments field, enter desired arguments, as described in the Using
section below.
Note: When entering arguments, the wc command is already implied. Do not
enter it in the Arguments field.
4. Specify the command duration time or accept the default (60 seconds). This is
the amount of time the command will attempt to run before terminating.
5. If desired, check Elevate Command Priority. This ensures the command will run
regardless of the level of server activity.
6. Click the Run button.

Using WC

Syntax
wc [ -lwc? ] [ file1 ... ]
Command Line Options
The default is for wc to count lines, words, and characters for each file given.
Counting can be restricted to one or more of lines, words, or characters by using the
command line options below:
-l: Enable counting for lines.
-w: Enable counting for words.