You've already forked bash-helper
31 lines
736 B
Markdown
31 lines
736 B
Markdown
## bash-helper-script
|
|
|
|
A collection of helper functions to be used within your bash script.
|
|
|
|
### Download via git clone
|
|
```
|
|
git clone https://git.x-files.dk/bash/bash-helper.git
|
|
```
|
|
> **NOTE**
|
|
> The helper script should reside in the same directory as your main bash script.
|
|
|
|
### How to source the script within your main bash script.
|
|
```bash
|
|
#!/usr/bin/env bash
|
|
|
|
source "$(dirname "$0")/helper"
|
|
|
|
# main bash script goes below this line
|
|
```
|
|
|
|
### Guide and howto's examples can be found here.
|
|
Bash helper function howto [\[link\]](https://wiki.x-files.dk/doku.php?id=linux:bash_helper_howto)
|
|
|
|
### More guides
|
|
More guides can be found on [\[wiki.x-files.dk\]](https://wiki.x-files.dk)
|
|
|
|
### Last tested
|
|
August 20th 2025 on Ubuntu 24.04.
|
|
|
|
|