Se vuoi approfondire, qui c'è un ottima guida

http://it.tldp.org/HOWTO/Bash-Prompt-HOWTO.html