O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

echo

Displays a message

echo [options] message

The echo utility copies its arguments, followed by a NEWLINE, to standard output. Each of the shells has an echo builtin that works similarly to the echo utility.

Arguments

The message is one or more arguments, which can include quoted strings, ambiguous file references, and shell variables. A SPACE separates each argument from the others. The shell recognizes unquoted special characters in the arguments, for example, the shell expands an asterisk into a list of filenames in the working directory.

Options

-n

Suppresses the NEWLINE terminating the message .

-e

Enables the interpretation of backslash-escaped ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required