how to make bash display username, hostname and current working directory
December 23rd, 2008
Just add the following line:
in your .profile or .bashrc.
PS1="\u@\h:\w$ "in your .profile or .bashrc.
PS1="\u@\h:\w$ "