echo"${FGBLUE} Text in blue ${NORMAL}"echo"Text normal"echo"${BGRED} Background in red"echo"${BGGREEN} Background in Green and back to Normal ${NORMAL}"

Some variants of Unix, such as Linux, support the options -n and -e, and do not process escape sequences unless the -e option is supplied. For example, FGRED=`echo -e "\033[31m"` might be used under Linux. Unfortunately, such options are non standard[4] due to historical incompatibilities between BSD and System V; the printf command can be used in situations where this is a problem. It is therefore recommended that printf be used to ensure that escape sequences are processed. The equivalent code using printf is simply FGRED=`printf "\033[31m"`.