Command prompt colours

Here’s an old trick which works great on ESX servers (thanks to this article on Linux Journal for reminding me).  It turns your prompt different colours to highlight when you are logged in as root. To make the prompt red when you’re running as root add this to /root/.bashrc: PS1='[e[31m][email protected]:w#[e[m] ‘ To make the prompt […]