Echoing Information To The Terminal - Cisco MDS 9000 Series Configuration Manual

Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

Echoing Information to the Terminal

DETAILED STEPS
Command or Action
Step 1
run-script [bootflash: | slot0: | volatile:]filename
Example:
switch# run-script testfile
Echoing Information to the Terminal
You can echo information to the terminal, which is particularly useful from a command script. You can
reference CLI variables and use formatting options in the echoed text.
This table lists the formatting options that you can insert in the text.
Table 6: Formatting Options for the echo Command
Formatting Option
\b
\c
\f
\n
\r
\t
\v
\\
\nnn
SUMMARY STEPS
1. echo [backslash-interpret] [text]
Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide
52
Understanding the Command-Line Interface
Purpose
Executes the commands in the file on the default
directory.
Description
Inserts back spaces.
Removes the new line character at the end of the text
string.
Inserts a form feed character.
Inserts a new line character.
Returns to the beginning of the text line.
Inserts a horizontal tab character.
Inserts a vertical tab character.
Displays a backslash character.
Displays the corresponding ASCII octal character.
OL-29291-02

Advertisement

Table of Contents
loading

Table of Contents