-
-
Save akopitsa/f19cbf53fb6c844a98284f3ca9554d10 to your computer and use it in GitHub Desktop.
Bash script color output
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
#!/bin/bash | |
DARKGRAY='\033[1;30m' | |
RED='\033[0;31m' | |
LIGHTRED='\033[1;31m' | |
GREEN='\033[0;32m' | |
YELLOW='\033[1;33m' | |
BLUE='\033[0;34m' | |
PURPLE='\033[0;35m' | |
LIGHTPURPLE='\033[1;35m' | |
CYAN='\033[0;36m' | |
WHITE='\033[1;37m' | |
SET='\033[0m' | |
echo "I ${DARKGRAY}love${SET} github." | |
echo "I ${RED}love${SET} github." | |
echo "I ${LIGHTRED}love${SET} github." | |
echo "I ${GREEN}love${SET} github." | |
echo "I ${YELLOW}love${SET} github." | |
echo "I ${BLUE}love${SET} github." | |
echo "I ${PURPLE}love${SET} github." | |
echo "I ${LIGHTPURPLE}love${SET} github." | |
echo "I ${CYAN}love${SET} github." | |
echo "I ${WHITE}love${SET} github." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment