1ECHO(1) User Commands ECHO(1)
2
3
4
6 echo - display a line of text
7
9 echo [SHORT-OPTION]... [STRING]...
10 echo LONG-OPTION
11
13 Echo the STRING(s) to standard output.
14
15 -n do not output the trailing newline
16
17 -e enable interpretation of backslash escapes
18
19 -E disable interpretation of backslash escapes (default)
20
21 --help display this help and exit
22
23 --version
24 output version information and exit
25
26 If -e is in effect, the following sequences are recognized:
27
28 \\ backslash
29
30 \a alert (BEL)
31
32 \b backspace
33
34 \c produce no further output
35
36 \e escape
37
38 \f form feed
39
40 \n new line
41
42 \r carriage return
43
44 \t horizontal tab
45
46 \v vertical tab
47
48 \0NNN byte with octal value NNN (1 to 3 digits)
49
50 \xHH byte with hexadecimal value HH (1 to 2 digits)
51
52 NOTE: your shell may have its own version of echo, which usually super‐
53 sedes the version described here. Please refer to your shell's docu‐
54 mentation for details about the options it supports.
55
57 Written by Brian Fox and Chet Ramey.
58
60 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
61 Report any translation bugs to <https://translationproject.org/team/>
62
64 Copyright © 2020 Free Software Foundation, Inc. License GPLv3+: GNU
65 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
66 This is free software: you are free to change and redistribute it.
67 There is NO WARRANTY, to the extent permitted by law.
68
70 Full documentation <https://www.gnu.org/software/coreutils/echo>
71 or available locally via: info '(coreutils) echo invocation'
72
73
74
75GNU coreutils 8.32 April 2020 ECHO(1)