Zenity
zenity is a program that will display GTK+ dialogs, and return (either in the return code or on the standard output) the user's input. This allows you to present information, and ask for information from the user, from all manner of shell scripts.
manual to show the use of zenity command:
man zenity
command to display the progress bar is as follows:
zenity — progress — text =“string”
to show the error message
zenity — error — text=“string”
command to display the warning:
zenity — warning — text=“string”
command to display the question in gui window:
zenity — question —text=“string”
zenity — progress — percentage=“24”
Note: string can be anything text.
Thank you for reading……!
#righteducation #article #vimaldaga #linux #linuxWorld