wsl sürümünü ögrenmek
windows son sürümleri ile hayatımıza girenWSL ( Windows Subsystem for Linux ) in hangi versionda çalıtığını ögrenmek için aagıdaki komut yapısı kullanılabilir.. wsl2 kullanabilemek için windowsun bazı güncellemeleri almış olması gerekiyor.
PS C:\Users\fcicek> wsl -l -v
NAME STATE VERSION
* Debian Stopped 1
docker-desktop-data Running 2
Ubuntu-18.04 Running 1
docker-desktop Running 2
wsl ile wsl2 arasında ne fark derseniz microsoftun kendi sitesinde aşagıdaki tablo yer alıyor.
| Feature | WSL 1 | WSL 2 |
|---|---|---|
| Integration between Windows and Linux | ✅ | ✅ |
| Fast boot times | ✅ | ✅ |
| Small resource foot print | ✅ | ✅ |
| Runs with current versions of VMware and VirtualBox | ✅ | ✅ |
| Managed VM | ❌ | ✅ |
| Full Linux Kernel | ❌ | ✅ |
| Full system call compatibility | ❌ | ✅ |
| Performance across OS file systems | ✅ | ❌ |