Updated November 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
- Download and install the repair tool here.
- Let it scan your computer.
- The tool will then repair your computer.
The connection between Linux and Windows is getting closer and closer. Now that Microsoft has supported Linux with the WSL (Windows Subsystem for Linux), it is doing what users have asked it to do: The Windows 10 April 2019 update allows access to Linux files from Windows.
Version 1903 of Windows 10 not only gives you the ability to open Linux files in the Explorer, but also the ability to edit Linux files on Windows.
One of the most surprising things about Windows 10 is that you can activate a Windows subsystem for Linux, install a Linux distribution like Ubuntu, and then run Linux commands in a Bash shell.
What is a Windows subsystem for Linux (WSL)?
The Windows for Linux Subsystem (WSL) is a new feature of Windows 10 that allows you to run native Linux command line tools directly on Windows in addition to your traditional Windows desktop applications and modern shop applications.
This feature has been available in one form or another since early 2016, but Microsoft is constantly working to improve the way Windows and Linux can be shared.
For example, you couldn’t start Windows applications from a Linux terminal at an early stage. Now you can. And although you have been able to access Windows files from a Linux terminal for some time now, it is not the opposite that happens. But it will be soon.
How to access Ubuntu files (Windows subsystem) from Windows 10
Although we show this tutorial for the Ubuntu subsystem, the process will be the same for other systems installed on the WSL, such as OpenSUSE, Kali, and others.
The address at which Windows 10 WSL stores the Linux environment file: %user profile%AppDataLocal packages
To access Linux WSL files on Windows 10, do the following.
- Enable the WSL function.
- Install Distro, for example Ubuntu, and start it.
- If you are in a directory under Linux FS, type explorer.
- This will open a File Explorer window located inside your Linux distribution.
November 2024 Update:
You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally, it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:
- Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
- Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
- Step 3 : Click “Repair All” to fix all issues.
From there, you can access all Linux files, just like any other file in the File Explorer. This includes operations such as: Drag and drop files in both directions, copy and paste, and even use custom context menu items added by Notepad++, VSCode, and other software.
The File Explorer displays the distribution files as a virtual network share under the path \\\wsl$\\.
Accessing Linux files from running WSL Distro in PowerShell
1. open a PowerShell or a raised PowerShell.
2. copy and paste the wsl –list – which works in PowerShell, then press Enter to display the current WSL distortions. Note the name of the WSL distribution (for example, Ubuntu) for which you want to access the files. (see screenshot below)
Type the following command in PowerShell and press Enter to go to the WSL distribution directory.
cd \wsl$\NameDistributionName>>NameDistribution
Replace in the above command with the real name of the WSL distribution (e. g. “Ubuntu”) you want in step 2.
For example: cd \wsl$\Ubuntu
Enter them at the command prompt and press Enter to display the above directory.
You can now access your Linux files as usual in PowerShell.
Start the root from the file explorer
It is a relatively simple method.
- Start the File Explorer.
- Type Linux and press Enter in the address bar of the file explorer.
- It will mount the memory for the Linux distributions installed on your computer.
- The files are visible in the File Explorer.
After accessing these files in the File Explorer, you can run them normally with the programs installed on your computer. And all the changes you make will be visible in the Terminal window.
https://superuser.com/questions/1083962/windows-linux-subsystem-accessing-files-outside-of-ubuntu
Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here