Created
January 25, 2022 15:01
-
-
Save reschenburgIDBS/0a3ff3e3bf477b300f57353eaf5ec37e to your computer and use it in GitHub Desktop.
colours in bash etc
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
# enable colours | |
RED=$'\e[1;31m' | |
GREEN=$'\e[1;32m' | |
YELLOW=$'\e[1;33m' | |
BLUE=$'\e[1;34m' | |
MAGENTA=$'\e[1;35m' | |
CYAN=$'\e[1;36m' | |
END=$'\e[0m' | |
# enable special text formating | |
BOLD=$'\e[1m' | |
LOW=$'\e[2m' | |
UNDERLINE=$'\e[4m' | |
INVERT=$'\e[7m' | |
PASSWORD=$'\e[8m' | |
BLINK=$'\e[5m' | |
NORMAL=$'\e[0m' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment