MLUG Bash Scripting Workshop 25/04/08
Prev Index Next

Introduction:

Why bother to use bash scripts?

Here are some of the reasons why I use Bash scripts:

I do not intend on turning this workshop into a comprehensive set of lessons which starts with "Hello World" and then progresses up through to more advanced features and examples.

Instead, I'm going to provide practical examples and explain what is going on in the script.

For me, the only way I was able to understand bash scripting was reading through and running other peoples scripts and then changing them around to see wnat would happen.

Eventually I began to understand and started doing some scripting of my own, as time went by I began rememebering syntax and expressions so I didn't have to constantly look things up again, and finally I began to accumulate a "toolbox" of my own scripts which could be modified or borrowed from to do other things.

Greater minds than mine write better Bash scripts than mine but I believe I know enough to present you with sufficient information and experience to decide if you want to invest the time and effort in bash scripting


Top