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 ...

Get A Practical Guide to Red Hat® Linux® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.