Views:
1,440
Votes: 1
✅ Solution
Tags:
command-line
bash
windows
windows-subsystem-for-linux
Link:
🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
URL:
https://askubuntu.com/q/1165306
Title:
Whenever I try to call the following command: "notepad /etc/bash.bashrc" from Windows WSL I get an error
ID:
/2019/08/13/Whenever-I-try-to-call-the-following-command_-_notepad-_etc_bash.bashrc_-from-Windows-WSL-I-get-an-error
Created:
August 13, 2019
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
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: