13 lines
456 B
Bash
Executable File
13 lines
456 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# --- Color/Style Variables ---
|
|
RED='\e[0;31m'
|
|
GREEN='\e[0;32m'
|
|
YELLOW='\e[1;33m' # 1 for Bold, 33 for Yellow
|
|
NC='\e[0m' # No Color - Reset all attributes
|
|
|
|
# --- Usage Example ---
|
|
echo -e "${GREEN}SUCCESS:${NC} Configuration loaded successfully."
|
|
echo -e "${RED}ERROR:${NC} Failed to connect to database."
|
|
echo -e "${YELLOW}WARNING:${NC} Disk space is getting low."
|
|
echo -e "This is ${RED}Red ${NC}and this is ${YELLOW}Yellow${NC} text." |