Examples of Bash Scripts
CC0-1.0 License
Examples of Bash Scripts
Core components:
Core components breakdown
# Run Script:
./cli.sh --count 5 --phrase "hello world"
Basic formula:
target :
recipe
Good Example is the Linux Makefile
Builds a container. You can read more documentation here.
To build it: docker build .
Find container id: docker image ls
docker run -it <your-id> bash
Then try out ipython
and import pandas
Bash 4.0 and beyond have "hashes", you should check if it is available:
bash --version
Note that modern cloudshell environments have version greater than 4.0, like Github codespaces and AWS Cloudshell. On OS X, you will need to brew install bash
to upgrade.