I'm a n00b trying to permanently change my terminal prompt.
I've used the following tutorials/threads:
http://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html
I've managed to change the .bashrc file:
$ cat .bashrc
export PS1="\w $"
but the prompt is still not coming up the way I want it.
On temporary basis the following works:
$ PS1="\w $"
~ $
Am I editing the wrong file?
Two suggestions:
.bashrc
file, unlog and log again to see if it works..profile
, as .bashrc
is only used if you have /bin/bash
as your default shell.