Linux Shell Scripting Tutorial (LSST) v1.05r3
Prev
Chapter 4: Advanced Shell Scripting Commands
Next

Message box (msgbox) using dialog utility

$cat > dia2
dialog --title "Linux Dialog Utility Msgbox" --backtitle "Linux Shell Script\
Tutorial" --msgbox "This is dialog box called msgbox, which is used\
to show some information on screen which has also Ok button, Thanks to Savio Lam\
and Stuart Herbert to give us this utility. Press any key. . . " 9 50

Save it and run as
$ chmod +x dia2
$ ./dia2

Message box (msgbox) using dialog utility

 


Prev
Home
Next
User Interface and dialog utility-Part II
Up
yesno box using dialog utility