vault backup: 2024-05-30 18:30:46
This commit is contained in:
parent
2bce7bf0d7
commit
dfe1034f5e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user