The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 970     Votes:  1     ✅ Solution
Tags: command-line   bash   windows   windows-subsystem-for-linux  
Link: 🔍 See Original Answer on Ask Ubuntu 🔗

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: November 24, 2022    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:

⇧ upowerd hogging CPU while iPhone is connected How can I shorten my command line (bash) prompt?  ⇩