Ubuntu Manpages

echo [ -n ] [ arg ... ]

Echo writes its arguments separated by blanks and terminated by a newline on the standard output. Option -n suppresses the newline.

/src/cmd/echo.c

If echo draws an error while writing to standard output, the exit status is Otherwise the exit status is empty.