builtin

Bash echo builtin

Prints arguments separated by spaces and normally a newline. Option and escape behavior varies; use fixed-format printf for arbitrary text.

Formal Syntax & Structure

bash syntaxbash
echo [-neE] [arg ...]

Return Value

exit status

Prints arguments separated by spaces and normally a newline. Option and escape behavior varies; use fixed-format printf for arbitrary text.

Working Example

Example Snippetbash
echo 'plain message'
Bash Reference