A Quick Tutorial on Bash Scripts

Bash scripts, if properly written, can be extremely convenient and efficient for automating repetitive tasks, while making your code more reproducible. For example, with a bash script, you no longer to manually input the same command line arguments each time, nor do you need to keep a record of all the command line arguments used.

Here is an awesome online tutorial for Bash scripting is written by Ryan. It is super user-friendly and provides an excellent introduction to Bash. I finished the tutorial in a day back in 2023 and it has benefited me ever since.

The same author also made a short cheatsheet for bash available here.


You'll only receive email when they publish something new.

More from Spark Tseung
All posts