Question regarding bash scripting