2022-02-14 02:22:51 +00:00
|
|
|
---
|
|
|
|
title: echo
|
|
|
|
layout: command
|
|
|
|
version: 0.59.0
|
|
|
|
---
|
2019-10-01 10:14:56 +00:00
|
|
|
|
2022-02-14 02:22:51 +00:00
|
|
|
Echo the arguments back to the user.
|
|
|
|
|
|
|
|
## Signature
|
|
|
|
|
|
|
|
```> echo ...rest```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
- `...rest`: the values to echo
|
2019-10-01 10:14:56 +00:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
2022-02-14 02:22:51 +00:00
|
|
|
Put a hello message in the pipeline
|
2019-10-01 10:14:56 +00:00
|
|
|
```shell
|
2022-02-14 02:22:51 +00:00
|
|
|
> echo 'hello'
|
2020-06-23 18:21:47 +00:00
|
|
|
```
|
|
|
|
|
2022-02-14 02:22:51 +00:00
|
|
|
Print the value of the special '$nu' variable
|
2020-06-23 18:21:47 +00:00
|
|
|
```shell
|
2022-02-14 02:22:51 +00:00
|
|
|
> echo $nu
|
2020-06-23 18:21:47 +00:00
|
|
|
```
|