Home > Software design >  Bash throwing error continously which cannot be canceled with CTRL C
Bash throwing error continously which cannot be canceled with CTRL C

Time:06-10

I was playing with PS1 variable to decorate my terminal but suddenly this happened. error

It is continously throwing bash: unexpected EOF while looking for matching ')'. I tried CTRL C and CTRL D but nothing worked.

This code is from ~/.bahsrc file so it gets executed as soon as I open the terminal. Is there any way to fix this without clearing data of Termux?

If I need to clear data Termux, is there any way to backup the HOME Directory of Termux?

CodePudding user response:

When you hold the Termux icon, it should display a menu that makes it possible to run "Failsafe". There, you can mv .bashrc .bashrc.bad (or .profile or whatever causes the problem) and then run a normal session.

  • Related