Tuesday, March 26, 2013
10:00 PM

Display Dialog boxes from shell scripts - Whiptail

whiptail is a lightweight replacement for dialog, to provide dialog boxes for shell scripts. It is built on the newt windowing library rather than the ncurses library, allowing it to be smaller in embedded environments such as installers, rescue disks, etc.

Currently, these types of dialog boxes are implemented:
yes/no box, menu box, input box, message box, text box, info box, checklist  box,  radiolist box gauge box, and password box.

whiptail is designed to be drop-in compatible with dialog, but has less features: some dialog boxes are not implemented, such as tailbox, timebox, calendarbox, etc.

Whiptail Installation:
Open the terminal and type following command to install whiptail:
sudo apt-get install whiptail

Continue Reading...

0 comments:

Post a Comment