Skip to content

Instantly share code, notes, and snippets.

@reschenburgIDBS
Created January 25, 2022 15:01
Show Gist options
  • Save reschenburgIDBS/0a3ff3e3bf477b300f57353eaf5ec37e to your computer and use it in GitHub Desktop.
Save reschenburgIDBS/0a3ff3e3bf477b300f57353eaf5ec37e to your computer and use it in GitHub Desktop.
colours in bash etc
# 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