echo

This command displays textual strings only.

Backslashes can be used as follows:

Show/hideSyntax

echo string

Where:

string

Specifies a string of characters.

Show/hideExample

Example 28. echo

echo "   initializing..."    # Display: "   initializing..." (includes quotes)
echo Stage 1\n               # Display: Stage 1 (followed by a new line)
echo \   Init                # Display:    Init (includes leading spaces)
echo 4+4                     # Display: 4+4

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0452D
Non-ConfidentialID011411