| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. |
| 2 |
.TH ECHO "1" "February 2026" "GNU coreutils 9.10" "User Commands" |
| 3 |
.SH NAME |
| 4 |
echo \- display a line of text |
| 5 |
.SH SYNOPSIS |
| 6 |
.B echo |
| 7 |
[\fI\,SHORT-OPTION\/\fR]... [\fI\,STRING\/\fR]... |
| 8 |
.br |
| 9 |
.B echo |
| 10 |
\fI\,LONG-OPTION\/\fR |
| 11 |
.SH DESCRIPTION |
| 12 |
.\" Add any additional description here |
| 13 |
.PP |
| 14 |
Echo the STRING(s) to standard output. |
| 15 |
.TP |
| 16 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#echo-n'\fB\-n\fP\X'tty: link' |
| 17 |
do not output the trailing newline |
| 18 |
.TP |
| 19 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#echo-e'\fB\-e\fP\X'tty: link' |
| 20 |
enable interpretation of backslash escapes |
| 21 |
.TP |
| 22 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#echo-E'\fB\-E\fP\X'tty: link' |
| 23 |
disable interpretation of backslash escapes (default) |
| 24 |
.TP |
| 25 |
\X'tty: link https://www.gnu.org/software/coreutils/echo#echo--help'\fB\-\-help\fP\X'tty: link' |
| 26 |
display this help and exit |
| 27 |
.TP |
| 28 |
\X'tty: link https://www.gnu.org/software/coreutils/echo#echo--version'\fB\-\-version\fP\X'tty: link' |
| 29 |
output version information and exit |
| 30 |
.PP |
| 31 |
If \fB\-e\fR is in effect, the following sequences are recognized: |
| 32 |
.TP |
| 33 |
\e\e |
| 34 |
backslash |
| 35 |
.TP |
| 36 |
\ea |
| 37 |
alert (BEL) |
| 38 |
.TP |
| 39 |
\eb |
| 40 |
backspace |
| 41 |
.TP |
| 42 |
\ec |
| 43 |
produce no further output |
| 44 |
.TP |
| 45 |
\ee |
| 46 |
escape |
| 47 |
.TP |
| 48 |
\ef |
| 49 |
form feed |
| 50 |
.TP |
| 51 |
\en |
| 52 |
new line |
| 53 |
.TP |
| 54 |
\er |
| 55 |
carriage return |
| 56 |
.TP |
| 57 |
\et |
| 58 |
horizontal tab |
| 59 |
.TP |
| 60 |
\ev |
| 61 |
vertical tab |
| 62 |
.TP |
| 63 |
\e0NNN |
| 64 |
byte with octal value NNN (1 to 3 digits) |
| 65 |
.TP |
| 66 |
\exHH |
| 67 |
byte with hexadecimal value HH (1 to 2 digits) |
| 68 |
.PP |
| 69 |
Your shell may have its own version of echo, which usually supersedes |
| 70 |
the version described here. Please refer to your shell's documentation |
| 71 |
for details about the options it supports. |
| 72 |
.PP |
| 73 |
Consider using the \fBprintf\fP(1) command instead, |
| 74 |
as it avoids problems when outputting option\-like strings. |
| 75 |
.SH AUTHOR |
| 76 |
Written by Brian Fox and Chet Ramey. |
| 77 |
.SH "REPORTING BUGS" |
| 78 |
Report bugs to: bug\[email protected] |
| 79 |
.br |
| 80 |
GNU coreutils home page: <https://www.gnu.org/software/coreutils/> |
| 81 |
.br |
| 82 |
General help using GNU software: <https://www.gnu.org/gethelp/> |
| 83 |
.br |
| 84 |
Report any translation bugs to <https://translationproject.org/team/> |
| 85 |
.SH "SEE ALSO" |
| 86 |
\fBprintf\fP(1) |
| 87 |
.PP |
| 88 |
.br |
| 89 |
Full documentation <https://www.gnu.org/software/coreutils/echo> |
| 90 |
.br |
| 91 |
or available locally via: info \(aq(coreutils) echo invocation\(aq |
| 92 |
.PP |
| 93 |
.br |
| 94 |
Packaged by Debian (9.10\-1) |
| 95 |
.br |
| 96 |
Copyright \(co 2026 Free Software Foundation, Inc. |
| 97 |
.br |
| 98 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. |
| 99 |
.br |
| 100 |
This is free software: you are free to change and redistribute it. |
| 101 |
.br |
| 102 |
There is NO WARRANTY, to the extent permitted by law. |