Zenity adds Graphical Interface to shell scripting program. Zenity adds more functionality to Shell scripting program. On this tutorial, I am going to show you how to show an info dialog using Zenity. We don’t have to worry about GUI designer. We only focus to Shell scripting. Zenity will handle the GUI.

Create a new file, say it hello.sh. You can use your favorite editor such as nano or Atom (recommended). Type the following lines to it: