How to Respond to Prompts in a Linux Bash Script Automatically