Shell Script To Display The Text Entered By The User in Bold

in Categories Academic last updated April 15, 2008

Write a shell script to display the text entered by the user in bold?

You need to use the tput utility to display text in bold. It uses the terminfo database to make the values of terminal-dependent capabilities and information available to the shell, to initialize or reset the terminal, or return the long name of the requested terminal type. tput bold turns on bold (extra bright) mode.

Share this on:

1 comment

    Have a question? Post it on our forum!