You've already forked scripts-random
Add first scripts
This commit is contained in:
28
01_bash/line_color.sh
Executable file
28
01_bash/line_color.sh
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user