Created
September 13, 2012 01:43
-
-
Save brettstimmerman/3711302 to your computer and use it in GitHub Desktop.
Echo all 256 tput foreground colors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Echo all 256 tput foreground colors | |
for i in {0..255} | |
do | |
echo "$(tput setaf $i)$i: The quick brown fox jumps over the lazy dog.$(tput sgr0)" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment