Shell script tutorial – Zenity progress dialog

July 4, 2014 | By | Reply More

On this Shell script tutorial, I am going to show you how the progress dialog works. The progress dialog will be active whenever a process is still under go. When the process is finished, the progress dialog also terminated.

For example, this script below will show the progress dialog when a given command “apt-get update” is executed.

Code:

[codesyntax lang=”bash”]

[/codesyntax]

Then when the script is executed, the following progress dialog is shown

zenity-progress

Tags: , ,

Category: Script

Leave a Reply