The checklist box (checklist)

In this case, we can present the user with a choice to select one or multiple options from a list:

# dialog --checklist "This is a checklist" 10 50 2  
"a" "This is one option" "off"  
"b" "This is the second option" "on" 

Get Learning Linux Shell Scripting - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.