Chapter 14: - Using 3rd Party Common Tools

touch

Using Tail - Command Line Options

Tail displays the last <count> lines of each of the files listed on the line. If no files are listed, display the last <count> lines of the standard input.

<count> defaults to 10.

tail [-<count> -n <count>] [-fvx?] [ file1 ... ]

The options for Tail are:

-<count> or -n <count>: specifies the number of lines to display.

-f: Follow along forever, outputting appended data as the file grows.

-v: Print headers giving file names.

-x: Expand tabs into the number of spaces specified by the TABS environment variable or into 8 spaces if TABS is undefined.

-?: Display program description.

Note:

If the environment variable TAIL exists, its value is used to establish default options.

You can override an option that was specified in the environment variable by following the option with a minus '-' sign. For example, to turn off the -v option, specify -v-.

If the environment variable TABS exists, its value will determine the number of spaces used to expand tabs. Otherwise, tabs are expanded to 8 spaces.

touch

Note: This tool can be used in both Interactive Mode and Batch Mode. For details on scheduling this tool to run in batch mode see Using Batch Mode.

Use the Touch utility to change the creation date/time for any file.

To Access Touch from the Dashboard

To run Touch from the Support Tools Dashboard:

Step 1 In the Arguments field, enter desired arguments, as described in the Using section below.

Note: When entering arguments, the Touch command is already implied. Do not enter it in the Arguments field.

Cisco Support Tools User Guide for Cisco Unified Software Release 2.1(1)

230

Page 244
Image 244
Cisco Systems 2.1(1) manual Using Tail Command Line Options, To Access Touch from the Dashboard, 230