[ale] [HELP] Changed PS1 in /etc/bashrc and have a big problem

Clay Lawrence servo at bellsouth.net
Mon Aug 16 18:44:35 EDT 1999


Boot up with your trusty floppy rescue disk. You do have one don't you?
It does have a shell on it doesn't it? I keep the ash shell on mine
since it is the smallest and is basically a small (around 60K) bash
compatible shell. 

Clay
Raptor wrote:
> 
> Hi everyone.
> 
> I did a bad thing.  I changed PS1 in /etc/bashrc and didn't have
> another shell running so that if I messed it up I could recover.
> 
> The change I made resulted in the following error message filling the
> screen:
> 
> bash: the.lair: ${PWD/} $: bad substitution
> bash: the.lair: ${PWD/} $: bad substitution
> bash: the.lair: ${PWD/} $: bad substitution
> bash: the.lair: ${PWD/} $: bad substitution
> bash: the.lair: ${PWD/} $: bad substitution
> bash: the.lair: ${PWD/} $: bad substitution
> bash: the.lair: ${PWD/} $: bad substitution
> bash: the.lair: ${PWD/} $: bad substitution
> 
> As you can see, I screwed up.
> 
> My question is:  How can I get in to fix it?
> Is there a way to bypass /etc/bashrc on login?  If I could do that, I
> could get in, edit bashrc, and voila!  It would be fixed.
> 
> Any help is greatly appreciated,
> 
> Rick






More information about the Ale mailing list