How can I display a dialog box in a shell?
Through the utility dialog which must be installed.
Then you can run it in your scripts, for instance the below code:
#!/bin/bash dialog --infobox "Installation Wizard" 6 25 sleep 1 dialog --yesno "Would you like to continue?" 12 25 if [ $? -ne 0 ]; then echo "User cancelled the operation!" exit 1 fi…