Home OS X
OS X Syntax

echo

Display message on screen.

SYNTAX
      echo [-n] [string ...]

Options
      -n   Do not print the trailing newline character.	 This may also be
	   achieved by appending `\c' to the end of the string, as is done by
	   iBCS2 compatible systems.

The echo utility exits 0 on success, and >0 if an error occurs.

QED - Quod erat demonstrandum. [Thus it is proven.]

Related commands:

lpr
- Print files
printf - Format and print data
say - Convert text to audible speech

Equivalent BASH command:

echo
- Display message on screen.



Back to the Top

Simon Sheppard
SS64.com