echo
S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
echo
To display a text string on the terminal, use the echo command.
Syntax Description
text
Command Default
Blank line.
Command Modes
EXEC mode
Command History
Release
4.0(0)N1(1a)
Usage Guidelines
You can use this command in a command script to display status information or prompts while the script
is running.
Examples
This example shows how to display a blank line at the command prompt:
switch# echo
This example shows how to display a line of text at the command prompt:
switch# echo Script run at $(TIMESTAMP).
Related Commands
Command
run-script
show cli variables
Cisco Nexus 5000 Series Command Reference
1-32
echo [text]
(Optional) Text string to display. The text string is alphanumeric, case
sensitive, can contain spaces, and has a maximum length of 200 characters.
The text string can also contain references to CLI variables.
Modification
This command was introduced.
Description
Runs command scripts.
Displays the CLI variables.
Chapter 1
Basic System Commands
OL-16599-01