Table of Contents

Name

echo - display a line of text

Synopsis

echo [OPTION]... [STRING]...

Description

NOTE: your shell may have its own version of echo which will supersede the version described here. Please refer to your shell’s documentation for details about the options it supports.

Echo the STRING(s) to standard output.

-n
do not output the trailing newline
-e
enable interpretation of backslash escapes
-E
disable interpretation of backslash escapes (default)
--help
display this help and exit
--version
output version information and exit

If -e is in effect, the following sequences are recognized:

\0NNN
the character whose ASCII code is NNN (octal)
\\
backslash
\a
alert (BEL)
\b
backspace
\c
suppress trailing newline
\f
form feed
\n
new line
\r
carriage return
\t
horizontal tab
\v
vertical tab

Author

Written by FIXME unknown.

Reporting Bugs

Report bugs to <bug-coreutils@gnu.org>.

Copyright

Copyright © 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See Also

The full documentation for echo is maintained as a Texinfo manual. If the info and echo programs are properly installed at your site, the command
info echo

should give you access to the complete manual.


Table of Contents