Manual Pages


Table of Contents

NAME

echo - Displays command line arguments.

SYNOPSIS

echo

echo [ <string>... ]

DESCRIPTION

The echo utility writes its arguments, separated by blanks and terminated by a newline, to the standard output. If there are no arguments, only the newline character will be written.

echo is useful within scripts such as /etc/rc to display text to the console.

EXAMPLES

To mark the beginning or end of some scripted operation, include echo commands like these in the script that controls the sequence of commands to be executed on the node:

         echo Start the operation...
             :
         (do the operation)
             :
         echo Stop the operation.

When this sequence is executed, the following will be displayed on the console:

         Start the operation...
             :
         (other console output)
             :
         Stop the operation.

SEE ALSO


Table of Contents