قالب وردپرس درنا توس
Home / Tips and Tricks / Windows 10 Will Finally Offer Easy Access to Linux Files

Windows 10 Will Finally Offer Easy Access to Linux Files



 Ubuntu and openSUSE shortcuts in Windows 10's Start menu

Windows 10's April 2019 update brings a long-awaited feature: Support for easily accessing, viewing, and even modifying Windows Subsystem for Linux (WSL) files from File Explorer or via the command line.

Previously, it's possible to find your Linux files in your AppData folder, but Microsoft warns against that. Modifying files here would break things.

Microsoft's Craig Loewen explains how it works: Rather than accessing these files directly, Windows runs a Plan 9 server as part of the WSL software in the background. Windows 1

0 has "a Windows service and driver that acts as the client and talks to the Plan9 server." That server translates to your file operations and handles Linux metadata search as file permissions, ensuring everything works properly even when you access a Windows file tool.

You can open a File Explorer window directly in the current directory from within a Linux shell environment. Just type the following command into the Bash shell:

 explorer.exe. 

You can work with files normally from here.

 A Linux home directory in File Explorer
Microsoft

Microsoft May change how to do this in the future. But if you're running Ubuntu's Bash shell: you'd type:

 \ wsl $  Ubuntu  

[1969090] Linux files displayed in PowerShell ” width=”650″ height=”370″ data-credittext=”Microsoft” src=”/pagespeed_static/1.JiBnMqyl6S.gif” onload=”pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);” onerror=”this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);”/>

Microsoft

Windows. In PowerShell or the Command Prompt, the command cd \ wsl $ Debian Subsystem for Linux users have wanted this feature for a long time. Back in 2016, Microsoft's Rich Turner wrote that he did not read his Linux files in File Explorer at least two or three times a day.

RELATED: Everything New in Windows 10's April 2019 Update


Source link