In this tutorial we will learn the basics of the dialog utility, in order to use ncurses
widget in our shell scripts. We will see how to install dialog in the most used Linux distributions, some of the common options we can use to alter the behavior of dialog, how to use some widgets; among the others: inputbox
, checklist
, radiolist
and yesno
. Finally, we will see how to use the data obtained by the widget processing.
In this tutorial you will learn:
- How to install the dialog utility on Linux
- What are the most relevant dialog options
- How to use the inputbox, checklist, radiolist, passwordbox, msbox, calendar and yesno widgets
- How to manage data derived from the widget processing