GNU Linux bash - add some color to the console script scripts (colored text output)

colorful text gives much more oversight. errors are easier to spot when they are marked in red colorful text is acchieved by defining color codes "switching" between color modes and back to default vim /scripts/colors.sh #!/bin/bash RED='\033[0;31m' WHITE='\033[0;37m' YELLOW='\033[0;33m' COLOR_OFF='\033[0m' # reset[...]

#linux #gnu #gnulinux #opensource #administration #sysops #gnu-linux #bash

Originally posted at: https://dwaves.de/2022/01/22/gnu-linux-bash-add-some-color-to-the-console-script-scripts-colored-text-output/

There are no comments yet.