« Back to Index

Bold text in bash output

View original Gist on GitHub

Bold text in bash output.sh

bold=$(tput bold)
normal=$(tput sgr0)

echo "So, ${bold}I'm bolded${normal} but I'm not bolded"