The ANSI escape sequences
\033[XXXm
where XXX is a series of
semicolon-separated parameters.
Make text red, bold, and underlined the text red (31), bold (1), underlined (4)
printf("\033[31;1;4mHello\033[0m");
echo -e "\033[31;1;4mHello\033[0m"
\033[XXXm
where XXX is a series of
semicolon-separated parameters.
Make text red, bold, and underlined the text red (31), bold (1), underlined (4)
printf("\033[31;1;4mHello\033[0m");
echo -e "\033[31;1;4mHello\033[0m"