Bash script: YES/NO prompt example - Linux Tutorials - Learn Linux Configuration

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
1 Like

Nice one. The combination of case and while do is quite complimentary…:slight_smile: