Use the --warning option to create a warning dialog.
The following example script shows how to create a warning dialog:
#!/bin/bash zenity --warning \ --text="Disconnect the power cable to avoid electrical shock."
Got a comment? Spotted an error? Found the instructions unclear? Send feedback about this page.