A tutorial for responsible bash scripting