Interactive Bash scripts will often include a yes or no prompt in order to ask for user verification before proceeding with a set of instructions or canceling the procedure.
This is a companion discussion topic for the original entry at https://linuxconfig.org/bash-script-yes-no-prompt-example