Tag: gdialog
-
Yes/No GUI dialog with gdialog
An gdialog example in linux. A dialog prompt for yes or no. #!/bin/bash gdialog –title “some title for the dialog” –yesno “some text \n the yes/no question.” if [ $? == 0 ]; then {commands for yes} else {maybe other commands for no} fi