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