🔍 See Original Answer on Ask Ubuntu 🔗
Whenever I try to call the following command: "notepad /etc/bash.bashrc" from Windows WSL I get an error
August 13, 2019
November 24, 2022
Copy to clipboard: false
NEVER EVER Use a Windows Application to change a WSL file. YOU WILL CORRUPT YOUR DATA.
If you have Windows update 1903 installed (March 2019) you can use Windows File Explorer to access WSL files. However WSL must be running first.
If you want a GUI to edit files try
gedit after installing
sudo apt install ubuntu-desktop. See this for more information: