vault backup: 2024-05-30 18:12:46
This commit is contained in:
parent
9783b81c78
commit
68676cd872
@ -46,8 +46,8 @@ fi
|
||||
```
|
||||
|
||||
## Commands
|
||||
| Command | Description |
|
||||
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `exit [CODE]` | Make the script process exit, where `[CODE]` is the exit code the process will terminate with. |
|
||||
| `read [VARIABLE]` | Read user input into the provided variable. |
|
||||
| `test [CONDITION]` | Used for conditionals, `test` will return an exit code of 0 if the test evaluates to true. Refer to the [manual](https://man7.org/linux/man-pages/man1/test.1.html) for more info. |
|
||||
| Command | Description |
|
||||
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `exit [CODE]` | Make the script process exit, where `[CODE]` is the exit code the process will terminate with. |
|
||||
| `read [VARIABLE]` | Read user input into the provided variable. |
|
||||
| `test [CONDITION]` | Used for conditionals, `test` will return an exit code of 0 if the test evaluates to true. Refer to the [manual](https://man7.org/linux/man-pages/man1/test.1.html) for more info. As a shorthand, you can enclose the condition in square brackets: `[]` |
|
||||
|
Loading…
Reference in New Issue
Block a user