Tag Archives: bash

Bash rainbow

Tweet about this on TwitterShare on Google+Share on RedditShare on LinkedInShare on FacebookBuffer this page

I recently found a need to implement text colours (warnings, attention) in a large pre-Vagrant host installer bash script. I couldn't remember which codes were which and static lists are passé, so I made this:

Which outputs colours like this:

Bash rainbow output
Bash rainbow output