\echo [ STRING ]

\echo [ STRING ] writes the string to standard output.

Tip: If you use the \o command to redirect your query output you might want to use \qecho instead of this command.