Week 10’s lecture was a continuation from Week 9’s introduction to shell scripting. The tutorial this week was closely correlated to the lecture material for weeks 9 and 10.
Pearl of the Week: Test function in shell scripts. + /dev/null (trash bin for script outputs)
if [ $var1 = $var2 ] then echo var1 and var2 are the same else echo var1 and var2 are different fi
We had a chance to make some scripts based on the constructs and operators that we learnt from the lecture:
[To be uploaded]
A basic but detailed guide to shell scripting: http://www.freeos.com/guides/lsst/
An advanced guide to shell scripting: http://tldp.org/LDP/abs/html/