1ECHO(1)                          User Commands                         ECHO(1)
2
3
4

NAME

6       echo - display a line of text
7

SYNOPSIS

9       echo [SHORT-OPTION]... [STRING]...
10       echo LONG-OPTION
11

DESCRIPTION

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       NOTE:  printf(1) is a preferred alternative, which does not have issues
57       outputting option-like strings.
58

AUTHOR

60       Written by Brian Fox and Chet Ramey.
61

REPORTING BUGS

63       GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
64       Report any translation bugs to <https://translationproject.org/team/>
65
67       Copyright © 2022 Free Software Foundation, Inc.   License  GPLv3+:  GNU
68       GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
69       This  is  free  software:  you  are free to change and redistribute it.
70       There is NO WARRANTY, to the extent permitted by law.
71

SEE ALSO

73       printf(1)
74
75       Full documentation <https://www.gnu.org/software/coreutils/echo>
76       or available locally via: info '(coreutils) echo invocation'
77
78
79
80GNU coreutils 9.1                January 2023                          ECHO(1)
Impressum