[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: recover ext3 deletion

On Fri, Nov 08, 2002 at 05:43:21PM -0700, Rick Macdonald wrote:

> Why doesn't the prompt for root ever include showing the current
> directory? That would probably have saved this poor fellow as he may have
> seen that he was not in /floppy as he thought.

Surely it is relatively easy to change the prompt to whatever is
desired.  In root's .bashrc on this machine I have

export PS1='\h:\w\$ '

which gives what you suggest.  The file dates from 1998 so I really
cannot recollect whether it came as the default prompt or it was put
there by me.


Reply to: