A sample prompt that am using (added the following line to ~/.bash_profile) export PS1="\[\e[0;32m\][\u@leeten-ec2 \w] \[\e[0m\]\n$ " References: Vivek Gite, How to: Change / Setup bash custom prompt (PS1), June 2, 2007. Daniel Robbins, Tip: Prompt magic, 01 Sep 2000. |
Memo >