Horje
red bash linux Code Example
red bash linux
Black        0;30     Dark Gray     1;30
Red          0;31     Light Red     1;31
Green        0;32     Light Green   1;32
Brown/Orange 0;33     Yellow        1;33
Blue         0;34     Light Blue    1;34
Purple       0;35     Light Purple  1;35
Cyan         0;36     Light Cyan    1;36
Light Gray   0;37     White         1;37
And then use them like this in your script:

RED='\033[0;31m'
NC='\033[0m' # No Color
printf "I ${RED}love${NC} Stack Overflow\n"




Shell

Related
install ldapsearch Code Example install ldapsearch Code Example
external emulator for android studio Code Example external emulator for android studio Code Example
preload for ubuntu Code Example preload for ubuntu Code Example
raspberry add-apt-repository command not found Code Example raspberry add-apt-repository command not found Code Example
install certbot ubuntu 20.04 nginx Code Example install certbot ubuntu 20.04 nginx Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9