From dfe1034f5eda227ceeff5e59fdd0783e6c384965 Mon Sep 17 00:00:00 2001 From: zleyyij Date: Thu, 30 May 2024 18:30:46 -0600 Subject: [PATCH] vault backup: 2024-05-30 18:30:46 --- IT/Scripting.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/IT/Scripting.md b/IT/Scripting.md index bf7db0b..0dffe3a 100644 --- a/IT/Scripting.md +++ b/IT/Scripting.md @@ -73,11 +73,15 @@ esac If using `test` or the shorthand of test (`[]`), there are a variety of binary comparison operators you can make use of: -| Operator | Description | -| -------- | ----------- | -| `-eq` | Is equal to | -| `-ne` | is not eq | - +| Operator | Description | +| -------- | --------------------------- | +| `-eq` | Is equal to | +| `-ne` | Is not equal to | +| `-gt` | Is greater than | +| `-ge` | Is greater than or equal to | +| `-lt` | Is less than | +| `-le` | Is less than or equal to | +The above list is ## Loops ### For loops `for` loops are used when you have a finite collection over which you want to iterate, such as a list of files, or a list of server names: