« » Print bold text in the Terminal
Friday 31st of July, 2009 by Torgeir Filed under OS X and Terminal 2 comments
I'm not quite sure about the context of this post, but here it is anyways.
This is how to print bold text in the Terminal of OS X.
bold="\033[1m"
reset="\033[0;0m"
echo -e ${bold}bold text ${reset}normal text
Leave a comment
Recently viewed weblog posts: GIkk det litt fort for nån i morrest mon tro, Store ord fra Solberg, Print bold text in the Terminal
2 Comments
#1
Friday 31st of July, 2009
webjorns
and why do I want to print bold in the terminal?
#2
Friday 31st of July, 2009
Torgeir Thoresen
Who wouldn't want to print bold text in the terminal?! No, really, I don't know. I was just playing around, and was curious as to how it was done