Zenity Progress bar example

Zenity progress bar can be used to show a progress for a running process or command. Here I want to show you an example of the usage of Zenity Progress. The progress dialog supports the following options:
Specifies the text that is displayed in the progress dialog.
Specifies the initial percentage that is set in the progress dialog.
Closes the progress dialog when 100% has been reached.
Specifies that the progress bar pulsates until an EOF character is read from standard input. Source

Zenity Progress Dialox Example:

[codesyntax lang=”bash”]


Save the code, make it executable and run it.

zenity progress

Or you can modify the command and use the following example to list all the files and directories. The progress will print any files or folders inside /etc/. Its pretty interesting

[codesyntax lang=”bash”]


zenity progress dialog


Leave a Reply

Your email address will not be published. Required fields are marked *