August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/bin/echo [string...] /usr/ucb/echo [-n] [string...]
The echo command writes its arguments, separated by blanks and terminated by a newline, to the standard output. If you provide no arguments, only the newline character is written.
echo is useful for producing diagnostics in command files, sending known data into a pipe, and displaying the contents of environment variables.
Note
The C shell, the Korn shell, and the Bourne shell all have echo built-in commands, which, by default, are invoked if you call echo without a full path name. See shell_builtins(1).
| -n | Do not add the newline to the output. |
Note
The -n option is provided for transition for BSD ...
Read now
Unlock full access