Shell scripting is a powerful way of automating tasks. In these tutorials I refer to shell scripting to mean using the Bourne Shell (sh) or Bourne-Again Shell (bash) in a Unix (e.g. Linux) environment.
However, I also use these scripts on Windows using the Cygwin system. This is a Linux-like environment which runs on Windows, allowing Unix-like shell scripting.
There are a lot of websites and blogs on shell scripting, but I’ve found just a few of them particularly useful. So I thought I’d share those with you.
- Bourne Shell Scripting a wiki book by several authors. A good introduction which nevertheless covers pretty well everything yu need to know
- Advanced Bash-Scripting Guide by Mendel Cooper – a comprehensive and thorough guide with a lot that I didn’t know before
- A Shell Programming Primer by Greg Goebel – a short but useful introduction which has been partly incorporated into (1)
The idea of my set of tutorials is to put some of this theory into practice by using some of the scripts that I use as examples.