scripts-random/01_bash/line_color.sh
2024-02-22 21:02:37 +01:00

29 lines
481 B
Bash
Executable File

#!/bin/bash
BLACK="\033[30m"
RED="\033[31m"
GREEN="\033[32m"
YELLOW="\033[33m"
BLUE="\033[34m"
PINK="\033[35m"
CYAN="\033[36m"
WHITE="\033[37m"
NORMAL="\033[39m"
echo -e $(cat <<EOF
$ this text is red\n
$BLACK this text is black\n
$RED this text is red\n
$GREEN this text is green\n
$YELLOW this text is yellow\n
$BLUE this text is blue\n
$PINK this text is pink\n
$CYAN this text is cyan\n
$WHITE this text is \n
$NORMAL and this is normal\n
EOF
)
ver=$(ls)
echo -e "$RED$ver"