Whiptail is a tool used for displaying dialog boxes to users.
Whiptail
is commonly used to display data in the form of data boxes. Some of the most common dialog boxes include
Info Box: (A data box displaying text)
whiptail --infobox "This is an infobox"
Message Box: (Waits for the user to click the OK button)
whiptail --msgbox "This is a message box"
Yes/No Box: (Offers users a choice of yes or no)
whiptail --yesno "Do you like dogs?"
Input Box: (Allows for user input)
whiptail --inputbox "Tell us your thoughts"
Password Box: (Masks user input)
whiptail --passwordbox "Enter a password"
Menu: (Present users with a list of options)
whiptail --menu "Choose an option [Dialog Height] [Dialog Width] [Menu Height] \
Apple A red fruit \
Pineaaple A tropical fruit \
Watermelon A Summer Fruit"
For more information please visit