Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ################################
- # GLOBAL VARIABLES IN ALL CAPS #
- ################################
- # Console colors
- W='\033[0m' # white (normal)
- R='\033[31m' # red
- G='\033[32m' # green
- O='\033[33m' # orange
- B='\033[34m' # blue
- P='\033[35m' # purple
- C='\033[36m' # cyan
- GR='\033[37m' # gray
- echo -e "$P This $P$B is a $B$G test script $GO$C for colors $C"
- echo -e "$P This is purple $GR This is gray $R This is red $O This is orange $P Purple $C Cyan"
- echo -ne "This is an example question to use as a variable?: "
- read QST
- echo -e "$GR $QST"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement