I was messing with the .bashrc
, and I made a lolcat echo. Now I can't use the terminal, and I don't know how to reset the .bashrc
file to default.
Asked
Active
Viewed 644 times
0

Tejas Lotlikar
- 2,945
- 5
- 17
- 26
/etc/skel/.bashrc
to your user's home directory from there - see this similar question Can't fix an error inside of WSL because it's causing WSL to crash – steeldriver Sep 07 '22 at 20:55wsl -u root
orwsl -e bash --norc --noprofile
. Either one should get you in. – NotTheDr01ds Sep 08 '22 at 03:09