Console menu, Bash scripting