Exercises in bash scripting