2ndUpdate
This commit is contained in:
@@ -1,13 +0,0 @@
|
|||||||
#!/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."
|
|
||||||
Reference in New Issue
Block a user