-
-
Save Lokawn/8896563969b04bc92803a8e88fd723ff to your computer and use it in GitHub Desktop.
Bash script color output
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/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 -e "I ${DARKGRAY}love${SET} github." | |
echo -e "I ${RED}love${SET} github." | |
echo -e "I ${LIGHTRED}love${SET} github." | |
echo -e "I ${GREEN}love${SET} github." | |
echo -e "I ${YELLOW}love${SET} github." | |
echo -e "I ${BLUE}love${SET} github." | |
echo -e "I ${PURPLE}love${SET} github." | |
echo -e "I ${LIGHTPURPLE}love${SET} github." | |
echo -e "I ${CYAN}love${SET} github." | |
echo -e "I ${WHITE}love${SET} github." |
Author
Lokawn
commented
Dec 25, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment