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

Raptor raptor at mindspring.com
Sun Aug 15 11:29:21 EDT 1999


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