![]() # And you can use it to get the location of any of these WSL installationsĬ:\Users\Jaime\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState # You can use lxrunoffline to check which WSL distributions have installed For instance, I think the easiest option is to use lxRunOffline to know the installation folder. You may check many options to know the location of the WSL folder. Linux distributions installed using other tools, such as lxRunOffline or WSL-DistroLauncher may store the linux filesystem into any location.WSL distributions installed from the Windows Store, starting in Windows Build 16215 (mid of 2017), use a folder like %LOCALAPPDATA%\Packages\, for example.Initial versions of WSL store the linux filesystem in %LOCALAPPDATA%\Lxss\rootfs.The location of the folder depends on the version of Windows and of the WSL distribution you are using. In WSL, all the linux filesystem is located under a Windows folder. You may use the mount command to access other types of media (e.g. If you modify some file, you will get the changes in the windows too. The files you can see in /mnt/c are the same you have in C. If you have another disk, for instance a D: disk in windows, it will be mounted under /mnt/d.In WSL, by default, the C: disk in windows is mounted under /mnt/c.You can use DrvFS to mount, not only your windows filesystem, but also network disks and other media types. WSL has an special type of filesystem named DrvFS that gives you access to the disks used in windows. Typically, all the disks (different than the used to boot the system) are mounted in a folder named /mnt or /media.If you have multiple disks, all these disks must me mounted into the folder structure at some point. In contrast to Windows, Linux (and the other systems based on Unix) use a single folder structure independent of the number of disks you have. What exactly is /mnt/c/Users/ compared with C:\Users? It seems they are one in the same-so what is /mnt/c/?.How can I view the files in /home/ using the Windows File Explorer? Not that I'd really ever want to-I'm just trying to get a feel for how Windows is organizing this Subsystem for Linux thing. ![]() What exactly is /mnt/c/Users/ compared with C:\Users\? It seems they are one in the same-so what is /mnt/c/?.from here I can see the directories bin, etc and so on, again as expected on a Linux box. ![]() file which I would expect to find in my home directory in a Linux box. Since this is where the bash program started, I expected this is my home directory, but when I type either cd or cd ~ I am brought to /home/ ![]() that I can see are in C:\Users\ using the Windows File Explorer. When I ls this directory, I see the directories Desktop, Documents, etc. When I start bash on Windows Subsystem for Linux, it drops me in the directory /mnt/c/Users/ ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |