- NetBSD Manual Pages
ECHO(1) NetBSD General Commands Manual ECHO(1)
Powered by man-cgi (2021-06-01).
Maintained for NetBSD
by Kimmo Suominen.
Based on man-cgi by Panagiotis Christias.
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
The following option is available:
-n Do not print the trailing newline character.
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.
The echo utility exits 0 on success, and >0 if an error occurs.
csh(1), ksh(1), printf(1)
The echo utility is expected to be IEEE Std 1003.2 (``POSIX.2'') compati-
An echo utility appeared in Version 2 AT&T UNIX.
NetBSD 9.99 February 26, 2020 NetBSD 9.99