ZENITY COMMANDS IN RHEL.

Zoro
2 min readSep 24, 2021

ZENITY is a program that will display dialogues in a pop up box. This allows us to present as well as ask information from the user.

Some examples of how Zenity can be used :-

  • To see the manual of Zenity :

Cmd name :- man zenity

  • To enter text with title that will appear in a pop-up box :

Cmd name :- zenity --info --title=”Weather Forecast” --text=”The Waether looks sunny today!”

  • To ask question or confirmation :

Cmd name :- zenity — question

  • To create a progress rating bar :

Cmd name :- zenity — progress

  • Zenity can be integrated with the shell commands :

Cmd name :- zenity — info — title=”Today’s Date” — text=”Today is $(date +%d)th of $(date +%b)”

  • To type password in a pop up graphical box.

Cmd name :- zenity —password

  • To pop up a warning message :

Cmd name :- zenity — warning

Thank You!

--

--