Last active
July 25, 2017 16:01
-
-
Save gabor-meszaros/eef47f8e25afd1e79192 to your computer and use it in GitHub Desktop.
Script to test terminal colors
This file contains 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
#!/bin/sh | |
for ((color = 0; color <= 255; color++)); do | |
tput setaf "$color"; | |
printf "test"; | |
done | |
printf "\nUse the \"reset\" command to reset the previous color settings.\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment