Tag Archives: Color codes

Colored Text Output in Linux Shell and Bash Scripts

This script is used in a lot of other scripts I produce over time, and it’s very handy for generating colored text output in the terminal. Example of usage Here’s an example of using the colors.sh script: #!/bin/bash source colors.sh echo “${fg_yellow}Yellow ${fg_reset}Normal ${fg_green}Green {$fg_reset}”; Download You can view or download the script here: https://invision-web.net/web/sources/colors.sh […]

Continue reading