/ Published in: Bash
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
#!/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
Comments
 Subscribe to comments
                    Subscribe to comments
                
                