echoecho
[-n
] [string
]
Echo arguments to standard output. Often used for producing prompts from shell scripts. This is the /bin/echo command. echo also exists in /usr/ucb , and as a command built into the Bourne, C, and Korn shells (see Chapter 4 and Chapter 5 ). Although echo is conceptually the simplest of all Unix commands, using it in practice is complicated, because of portability and version differences. (Consider using printf instead.) The following sections summarize the differences. Version DifferencesEscape Sequences
Examples
|
|