I mistakenly edited the
.bashrc file for my WSL (Windows Subsystem for Linux) Bash using a Windows text editor (Notepad++).
Now whenever I run Bash I get the following error:
bash: /root/.bashrc: Input/output error
How can I fix this? I tried saving with Linux file endings (LF only) but that didn't work.