Skip to content

Instantly share code, notes, and snippets.

@zipizap
Created October 11, 2013 14:52
Show Gist options
  • Save zipizap/6936056 to your computer and use it in GitHub Desktop.
Save zipizap/6936056 to your computer and use it in GitHub Desktop.
echo -e '\033[37m' #turn on foreground color: white
echo -e '\033[44m' #turn on background color: blue
echo 'print your text - everything written from now on will have the previous colors, untill you turn them off'
echo -e '\033[0m' #turn off foreground and background color, to defaults
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment