From 9783b81c7896edf6c6449cfc2c573f353b287b1d Mon Sep 17 00:00:00 2001 From: zleyyij Date: Thu, 30 May 2024 18:11:46 -0600 Subject: [PATCH] vault backup: 2024-05-30 18:11:46 --- IT/Scripting.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/IT/Scripting.md b/IT/Scripting.md index 3c28435..5aeaf9d 100644 --- a/IT/Scripting.md +++ b/IT/Scripting.md @@ -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]` | | +| 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. |