Created
July 28, 2013 19:45
-
-
Save KINGSABRI/6099831 to your computer and use it in GitHub Desktop.
Print all bash colors with its codes
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
#!/usr/bin/bash | |
for x in 0 1 4 5 7 8; do for i in `seq 30 37`; do for a in `seq 40 47`; do echo -ne "\e[$x;$i;$a""m\\\e[$x;$i;$a""m\e[0;37;40m "; done; echo; done; done; echo ""; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment