How to prompt for Yes/No/Cancel input in a Linux shell script?
The simplest and most widely available method to get user input at a shell prompt is the read command. The best way to illustrate its use is a simple demonstration: Another method …
How to prompt for Yes/No/Cancel input in a Linux shell script? Learn More