View my experiences & work in Linux that I do every now and then.
From for loops, functions, arrays and traps to set up of DB / cache clusters in a snap.
As happens with anybody who is into scripting, things get both easier and messy, but you know Linux is a friend :-p.
Take a look at this.