echo

Echo the arguments back to the user.

Signature

> echo ...rest

Parameters

  • ...rest: the values to echo

Notes

Unlike `print`, this command returns an actual value that will be passed to the next command of the pipeline.

Examples

Put a hello message in the pipeline

> echo 'hello'

Print the value of the special '$nu' variable

> echo $nu