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
56 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
57 Report echo translation bugs to <http://translationproject.org/team/>
58
60 Written by Brian Fox and Chet Ramey.
61
63 Copyright © 2013 Free Software Foundation, Inc. License GPLv3+: GNU
64 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
65 This is free software: you are free to change and redistribute it.
66 There is NO WARRANTY, to the extent permitted by law.
67
69 The full documentation for echo is maintained as a Texinfo manual. If
70 the info and echo programs are properly installed at your site, the
71 command
72
73 info coreutils 'echo invocation'
74
75 should give you access to the complete manual.
76
77
78
79GNU coreutils 8.22 October 2018 ECHO(1)