#!/bin/bash # Steven Maresca # lightyear4 @t gmail # # Current version of this script (and others) always available # at http://www.fugitivethought.com/projects/shell-scripts/ # # Simply outputs text to the terminal in the various colors listed below. # Demonstrates the escape sequences for text colors in bash. # echo -e " \033[30mBlack\033[0m \033[1;30mDark Gray\033[0m" echo -e " \033[34mBlue\033[0m \033[1;34mBlue (Light)\033[0m" echo -e " \033[32mGreen\033[0m \033[1;32mGreen (Light)\033[0m" echo -e " \033[36mCyan\033[0m \033[1;36mCyan (Light)\033[0m" echo -e " \033[31mRed\033[0m \033[1;31mRed (Light)\033[0m" echo -e " \033[35mPurple\033[0m \033[1;35mPurple (Light)\033[0m" echo -e " \033[33mBrown\033[0m \033[1;33mYellow\033[0m" echo -e " \033[37mLight Gray\033[0m \033[1;37mWhite\033[0m"