vault backup: 2024-05-30 18:12:46

This commit is contained in:
zleyyij 2024-05-30 18:12:46 -06:00
parent 9783b81c78
commit 68676cd872

View File

@ -46,8 +46,8 @@ fi
``` ```
## Commands ## Commands
| Command | Description | | Command | Description |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `exit [CODE]` | Make the script process exit, where `[CODE]` is the exit code the process will terminate with. | | `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. | | `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. | | `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: `[]` |