Shell prompt

Moi nguyendaiquy at gmail.com
Sun Aug 29 14:13:27 UTC 2004


On Sun, 29 Aug 2004 15:07:11 +0100, Arnaldo Bento <arnaldo_bento at clix.pt> wrote:
> Hello All
> 
> In the past I had the prompt of the terminal window as this:
> 
> [root at something tmp] #
> 
> Now and without I know reason the prompt changed for
> 
> bash-2.05b #
> Even if I change from directory the prompt still the same.
> 
> What to do for to have back the "old" prompt?  [root at something tmp] #
> Thank you for the help.

Try:
$ export PS1="[\u@\h \w] #"
in your terminal.





More information about the fedora-list mailing list