https://www.geeksforgeeks.org/shell-scripting-dialog-boxes/ Shell Scripting – Dialog Boxes - messg.sh : #!/bin/bash function DialogGen () { dialog --checklist 'checklist' 15 10 10 'potato' 5 'on' 'carrot' 2 'off' 'grape' 3 'on' 'cabbage; 4 'off' } DialogGen - messg.sh : #!/bin/bash function DialogGen () { --msgbox "Hi geeks, hope everyone are enjoying GeeksForGeeks" 10 30 } DialogGen etc