Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have just installed WSL with Ubuntu 18.04. I am running Windows 10 Pro on inside track with version 18922.rs_prerelease.190614-1427

I used this guide:

https://docs.microsoft.com/en-us/windows/wsl/install-win10

Then I converted the WLS to WSL2 using this guide:

https://docs.microsoft.com/en-us/windows/wsl/wsl2-index

PS correctly shows my distro running in WSL2:

PS C:WINDOWSsystem32> wsl --list --verbose
  NAME            STATE           VERSION
* Ubuntu-18.04    Running         2

I am using git on the distro and have created new SSH-keys. I need to access the key files (at least to copy them) from Windows.

I thought I could write

$explorer .

as described here:

https://winaero.com/blog/access-wsl-linux-files-file-explorer-windows-10/

And there is no "Tux icon" in my "Networks section" as described here:

https://winaero.com/blog/windows-10-build-18836-shows-wsl-linux-file-system-in-file-explorer/

So what do I do ... how do I access the files from Windows?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
149 views
Welcome To Ask or Share your Answers For Others

1 Answer

As described in https://www.tenforums.com/tutorials/127857-access-wsl-linux-files-windows-10-a.html access of the linux files is available through \wsl$.

To access to your root distro you could use :

explorer \wsl$Ubuntu-18.04

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...