Windows Subsystem for Linux WSL2 Deep Dive
Liv4IT Liv4IT
11.7K subscribers
352 views
8

 Published On May 16, 2024

Windows Subsystem for Linux WSL2 Deep Dive

In this video, I will try to answer some questions related to the Windows Subsystem for Linux, that I have got after posting my previous video:

What distributions are supported by WSL?
The official ones can be listed using:
wsl --list --online
The unofficial ones can be searched using Microsoft Store.

Where is located the WSL Ubuntu instance?
Given the basic installation, the actual files are in a virtual disk named ext4.vhdx, typically find it under: %userprofile%\AppData\Local\Packages\Canonical...\LocalState\ext4.vhdx. Your %userprofile% is typically something like C:\Users\username.

How do I access files in WSL2 from Windows?
To access files in WSL from Windows, use the \\wsl$\Ubuntu path (or whatever your distribution is named).

How do I access files in my Windows machine from WSL2?
If you are in Ubuntu and need access to a file on a Windows drive (e.g. C:), then you'll find those are (by default) auto-mounted for you:
ls /mnt/c

How to perform an offline install of a Linux distribution:
download the appx bundle package from:
https://learn.microsoft.com/en-us/win...
then in your PowerShell terminal execute the command:
Add-AppxPackage .\distribution_name.appx














🌸 Support channel & make donation :
https://www.paypal.me/aminenina/10

🌸 Subscribe for more videos :
Youtube:    / aminosninatos  

🌸 Follow me On Social Media
Facebook :   / aminosninatos  

***********************************************************************

🌸 Windows Subsystem for Linux WSL2 Commands
   • Windows Subsystem for Linux WSL2 Comm...  

🌸 This Little Trick Will Prevent You From Messing Up With Your Application Database
   • This Little Trick Will Prevent You Fr...  

🌸 PIP The Package Manager for Python
   • PIP The Package Manager for Python  

🌸 How to read Crystal Disk Info
   • How to read Crystal Disk Info  

🌸 How To Monitor the Health of Your Hard Drive in Linux using SMART
https://www.youtube.com/watch/z1z9R...

🌸 Linux iotop: Monitor your disk Input/Output
https://www.youtube.com/watch/pWG4v...

🌸 How To use the “du” (Disk Usage) Command in Linux
https://www.youtube.com/watch/RA4bM...

🌸 How To View Manipulate System Logs In Linux Using Journalctl Command
   • How To View Manipulate System Logs In...  

🌸 How To Sync And Backup Files In Linux Using Rsync Command
   • How To Sync And Backup Files In Linux...  

🌸 Linux cURL Command Tips and Tricks
   • Linux cURL Command Tips and Tricks  

🌸 Linux tail and multitail commands
   • Linux tail and multitail commands  

🌸 Linux How To view Log Files
   • Linux How To view Log Files  

🌸 How To use the History Command On Linux
   • How To use the History Command On Linux  

🌸 Tips and Tricks How To manipulate Text Files on Linux
   • Tips and Tricks How To manipulate Tex...  

🌸 How to Archive, Compress and Extract Files Using the tar Command on Linux
   • How to Archive, Compress and Extract ...  

🌸 Linux - How to split larger files into smaller parts
   • Linux - How to split larger files int...  

🌸 Linux commands : Top
   • Linux commands : Top  

***********************************************************************

#wsl2 #wsl #linux

show more

Share/Embed