|
To display the test in "BOLD" and "UNDERLINE", the following ANSI Escape Sequences can be used.
To display the text in BOLD
$ echo -e "\033[1mThis is a BOLD line\033[0m"
This is a BOLD line
#Using tput
$ tput bold
$ echo "This" #BOLD
$ tput sgr0 #Reset text attributes to normal without clear.
$ echo "This" #NORMAL
To display the text in UNDERLINE
$ echo -e "\033[4mThis is an underlined line.\033[0m"
This is an underlined line.
:b
ReplyDeletethis a reply comment
Deletereply for a reply
Delete