Learning bash scripting with monitoring script.