Windows Subsystem for Linux update will allow you to access Linux files from Windows 10
Microsoft yesterday announced in a blog post that Windows 10’s April 2019 Update will bring in some new features to the Windows Subsystem for Linux (WSL) in version 1903. The changelog for build 18836 has also been updated to reflect the changes.
In the past, one couldn’t launch Windows applications from a Linux terminal. But now you can easily access all the files in your Linux distros from Windows. All you need to do is open your favorite distro, and type in explorer.exe. This will open a File Explorer window, located inside of your Linux distro.
“From here you can access whatever Linux files you would like, just like you would any other file through File Explorer. This includes operations such as: dragging files back and forth to other locations, copy and paste, and even interesting scenarios like using the context menu to open VSCode in a WSL directory!” reads the blogpost.
Currently, the path will look something like \wsl$
Since this is a new feature, there are some known issues such as your Linux distro needs to be running for you to access the files. However, that may change in a future update. Further, Linux files is treated the same as accessing a network resource, which means any rules for accessing network resources will still apply. Lastly, Microsoft warns that you should not access your Linux files inside of the AppData folder.
Microsoft has also made some improvements to the command line by consolidating their commands to wsl.exe and adding more command line functionality. The tech giant has also added some new commands that will give you more functionality when using wsl.exe. You can now run commands as different users, terminate running distributions, and even export and import different distros!
You can read more about the latest changes to the WSL here.
The post Windows 10 will soon allow you to access your Linux files appeared first on TechWorm.
Gurupriyan is a Software Engineer and a technology enthusiast, he’s been working on the field for the last 6 years. Currently focusing on mobile app development and IoT.