wiki/help/linux/bash/script/function.md

9 lines
94 B
Markdown

# function.
you can declare a function like this:
```bash
foo()
{
# commands go here.
}
```