vault backup: 2024-05-30 18:32:46
This commit is contained in:
parent
ab227e2aba
commit
e2e6f59df6
@ -107,7 +107,12 @@ echo “Done counting”
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Functions
|
## Functions
|
||||||
|
While there are a few ways to declare a function in bash, the most common syntax looks like this:
|
||||||
|
```bash
|
||||||
|
function_name () {
|
||||||
|
echo "I was called by a function"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
| Command | Description |
|
| Command | Description |
|
||||||
|
Loading…
Reference in New Issue
Block a user