The textbox (textbox)

If we want to display the contents of the file in a textbox inside the menu created by a dialog, then enter the following command:

    $ dialog  --textbox /etc/passwd 10  50
  

We are displaying the /etc/passwd file in the textbox with the previous command.

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.