vault backup: 2024-05-30 18:31:46
This commit is contained in:
parent
dfe1034f5e
commit
ab227e2aba
@ -81,7 +81,7 @@ If using `test` or the shorthand of test (`[]`), there are a variety of binary c
|
||||
| `-ge` | Is greater than or equal to |
|
||||
| `-lt` | Is less than |
|
||||
| `-le` | Is less than or equal to |
|
||||
The above list is
|
||||
The above list is far from complete but it contains some of the more commonly used operators
|
||||
## 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:
|
||||
@ -105,7 +105,9 @@ while [ $i -lt 10 ]; do
|
||||
done
|
||||
echo “Done counting”
|
||||
```
|
||||
### While loops
|
||||
|
||||
## Functions
|
||||
|
||||
|
||||
## Commands
|
||||
| Command | Description |
|
||||
|
Loading…
Reference in New Issue
Block a user