Name
echo
Synopsis
echo [-n] [string
]
Echoes arguments to standard output. Often used for producing prompts from shell scripts.
Option
-
-n
Suppress printing of newline after text.
Example
$ echo "testing printer" | lp
Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.