change terminal color linux command line code example Example: change ubuntu terminal prompt color export PS1="e[0;32m[u@h W]$ e[0m"