ECHO(1) | General Commands Manual | ECHO(1) |
echo
— write
arguments to the standard output
echo |
[-n ] [string ...] |
The echo
utility writes any specified
operands, separated by single blank (`` '') characters and followed by a
newline (``\n'') character, to the standard output.
The following option is available:
-n
Note that many shells (e.g.,
csh(1) and
ksh(1)) provide a built-in
echo
command which tends to differ from this utility
in the treatment of options and backslashes. Where portability is paramount,
use printf(1).
The echo
utility exits 0 on
success, and >0 if an error occurs.
The echo
utility is expected to be
IEEE Std 1003.2 (“POSIX.2”)
compatible.
An echo
utility appeared in
Version 2 AT&T UNIX.
May 14, 2024 | NetBSD 10.99 |