echo(1)echo(1)Nameecho - echo arguments
Syntaxecho [-n] [arg...]
Description
The command writes its arguments separated by blanks and terminated by
a new line on the standard output.
Options-n Suppresses newlines from output.
The command also understands C-like escape conventions. such as:
\b backspace
\c print line without new-line
\f form-feed
\n new-line
\r carriage return
\t tab
\v vertical tab
\\ backslash
\n the 8-bit character whose ASCII code is the 1-, 2- or
3-digit octal number n, which must start with a zero.
Examples
The command is useful for producing diagnostics in shell programs and
for writing constant data on pipes.
To send diagnostics to the standard error file, type the following:
echo ... 1>&2
echo(1)