Use the --question option. Question Dialog

Use the --question option to create a question dialog.

The following example script shows how to create a question dialog:

#!/bin/bash zenity --question \ --text="Are you sure you wish to proceed?"
Question Dialog Example Zenity question dialog example