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 Report echo bugs to bug-coreutils@gnu.org
61 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
62 General help using GNU software: <http://www.gnu.org/gethelp/>
63 Report echo translation bugs to <http://translationproject.org/team/>
64
66 Copyright © 2010 Free Software Foundation, Inc. License GPLv3+: GNU
67 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
68 This is free software: you are free to change and redistribute it.
69 There is NO WARRANTY, to the extent permitted by law.
70
72 The full documentation for echo is maintained as a Texinfo manual. If
73 the info and echo programs are properly installed at your site, the
74 command
75
76 info coreutils 'echo invocation'
77
78 should give you access to the complete manual.
79
80
81
82GNU coreutils 8.4 June 2018 ECHO(1)