Movatterモバイル変換


[0]ホーム

URL:


SlideShare a Scribd company logo

WSL - Windows SubSytem For Linux

4 likes1,250 views
Mithun Shanbhag
Mithun Shanbhag

The document contains a series of Twitter handles and URLs that refer to the blog of Mithun Shanbhag, along with multiple attributions to Microsoft resources such as WSL, Build 2019, VSCode, and Docker documentation. It primarily highlights the presence of links and mentions without providing any substantial content or insights. The document appears to serve as a collection of references rather than a cohesive narrative.

1 of 37
1
2
3
Most read
4
5
6
7
8
9
10
11
12
13
14
15
Most read
16
17
18
19
20
Most read
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.ioImage attribution: Microsoft (WSL Documentation)
twitter: @MithunShanbhagblog: mithunshanbhag.github.ioImage attribution: Microsoft (WSL Documentation)
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.ioImage attribution: Microsoft (WSL Blog)
twitter: @MithunShanbhagblog: mithunshanbhag.github.ioImage attribution: Microsoft (WSL Blog)
twitter: @MithunShanbhagblog: mithunshanbhag.github.ioImage attribution: Microsoft (WSL Blog)
twitter: @MithunShanbhagblog: mithunshanbhag.github.ioImage attribution: Microsoft (WSL Blog)
twitter: @MithunShanbhagblog: mithunshanbhag.github.ioImage attribution: Microsoft (WSL Blog)
twitter: @MithunShanbhagblog: mithunshanbhag.github.ioImage attribution: Microsoft (Build 2019)
twitter: @MithunShanbhagblog: mithunshanbhag.github.ioImage attribution: Microsoft (Build 2019)
twitter: @MithunShanbhagblog: mithunshanbhag.github.ioImage attribution: Microsoft (Build 2019)
twitter: @MithunShanbhagblog: mithunshanbhag.github.ioImage attribution: Microsoft (Build 2019)
twitter: @MithunShanbhagblog: mithunshanbhag.github.ioImage attribution: Microsoft (Build 2019)
twitter: @MithunShanbhagblog: mithunshanbhag.github.ioImage attribution: Microsoft (Build 2019)
twitter: @MithunShanbhagblog: mithunshanbhag.github.ioImage attribution: Microsoft (VSCode Documentation)
twitter: @MithunShanbhagblog: mithunshanbhag.github.ioImage attribution: Microsoft (Docker Documentation)
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
twitter: @MithunShanbhagblog: mithunshanbhag.github.io
Ad

Recommended

PPTX
Evolution of windows
swapnikajaimini
 
PPTX
Fluorescence-activated Cell Sorting (FACS).pptx
kalok4
 
PPTX
water vascular system by shivani bhomle
shvanibhomle
 
PPT
History of windows
Annu Ahmed
 
PPTX
Presentation Introduction to Windows
MJ Ferdous
 
PDF
Microservices architecture
Abdelghani Azri
 
PPTX
Windows 7, 8, 8.1 & 10
University of Haripur
 
PPSX
Zero-Trust SASE DevSecOps
Araf Karsh Hamid
 
PPTX
.NET Oxford Windows Subsystem for Linux v2
Stuart Leeks
 
PDF
Git and git flow
Fran García
 
PPTX
Git basics to advance with diagrams
Dilum Navanjana
 
PDF
Git real slides
Lucas Couto
 
KEY
Introduction To Git
Arnaud Seilles
 
PDF
Advanced Git
Sergiu-Ioan Ungur
 
PDF
Ansible
Knoldus Inc.
 
PDF
Introduction to GitHub Actions
Bo-Yi Wu
 
PPTX
Github in Action
Morten Christensen
 
PDF
A Practical Introduction to git
Emanuele Olivetti
 
PDF
Git basics for beginners
PravallikaTammisetty
 
PPTX
Git - Basic Crash Course
Nilay Binjola
 
PDF
Git - An Introduction
Behzad Altaf
 
PDF
Gitops: the kubernetes way
sparkfabrik
 
PPTX
Introduction to Hyper-V
Mark Wilson
 
PDF
github-actions.pdf
AbhaymithraReddy1
 
PDF
KVM tools and enterprise usage
vincentvdk
 
PDF
Docker 101: Introduction to Docker
Docker, Inc.
 
PDF
Advanced Git Tutorial
Sage Sharp
 
PDF
عبقرية خالد بن الوليد العسكرية
Moustafa Mahmoud
 
PDF
60 دقيقه هزت العالم
Moustafa Mahmoud
 

More Related Content

What's hot(20)

PPTX
.NET Oxford Windows Subsystem for Linux v2
Stuart Leeks
 
PDF
Git and git flow
Fran García
 
PPTX
Git basics to advance with diagrams
Dilum Navanjana
 
PDF
Git real slides
Lucas Couto
 
KEY
Introduction To Git
Arnaud Seilles
 
PDF
Advanced Git
Sergiu-Ioan Ungur
 
PDF
Ansible
Knoldus Inc.
 
PDF
Introduction to GitHub Actions
Bo-Yi Wu
 
PPTX
Github in Action
Morten Christensen
 
PDF
A Practical Introduction to git
Emanuele Olivetti
 
PDF
Git basics for beginners
PravallikaTammisetty
 
PPTX
Git - Basic Crash Course
Nilay Binjola
 
PDF
Git - An Introduction
Behzad Altaf
 
PDF
Gitops: the kubernetes way
sparkfabrik
 
PPTX
Introduction to Hyper-V
Mark Wilson
 
PDF
github-actions.pdf
AbhaymithraReddy1
 
PDF
KVM tools and enterprise usage
vincentvdk
 
PDF
Docker 101: Introduction to Docker
Docker, Inc.
 
PDF
Advanced Git Tutorial
Sage Sharp
 
.NET Oxford Windows Subsystem for Linux v2
Stuart Leeks
 
Git and git flow
Fran García
 
Git basics to advance with diagrams
Dilum Navanjana
 
Git real slides
Lucas Couto
 
Introduction To Git
Arnaud Seilles
 
Advanced Git
Sergiu-Ioan Ungur
 
Ansible
Knoldus Inc.
 
Introduction to GitHub Actions
Bo-Yi Wu
 
Github in Action
Morten Christensen
 
A Practical Introduction to git
Emanuele Olivetti
 
Git basics for beginners
PravallikaTammisetty
 
Git - Basic Crash Course
Nilay Binjola
 
Git - An Introduction
Behzad Altaf
 
Gitops: the kubernetes way
sparkfabrik
 
Introduction to Hyper-V
Mark Wilson
 
github-actions.pdf
AbhaymithraReddy1
 
KVM tools and enterprise usage
vincentvdk
 
Docker 101: Introduction to Docker
Docker, Inc.
 
Advanced Git Tutorial
Sage Sharp
 

Similar to WSL - Windows SubSytem For Linux(9)

PDF
عبقرية خالد بن الوليد العسكرية
Moustafa Mahmoud
 
PDF
60 دقيقه هزت العالم
Moustafa Mahmoud
 
PDF
A digital strategy for Lindsay Lohan
Kristian Henschel
 
PDF
ديوان سيد قطب
mourad Foudhaili
 
PDF
ديوان سيد قطب
Fatmazohra Bouslimani Kaizen
 
PDF
التنمية وجهًا لوجه
Remas Mohamed
 
PDF
iphongthuynet
iphongthuynet
 
PDF
phong thủy tử vi https://iphongthuy.net/
iphongthuynet
 
PDF
السر-www.newt3ch.net
New Tech.Net - التقنية.نت
 
عبقرية خالد بن الوليد العسكرية
Moustafa Mahmoud
 
60 دقيقه هزت العالم
Moustafa Mahmoud
 
A digital strategy for Lindsay Lohan
Kristian Henschel
 
ديوان سيد قطب
mourad Foudhaili
 
ديوان سيد قطب
Fatmazohra Bouslimani Kaizen
 
التنمية وجهًا لوجه
Remas Mohamed
 
iphongthuynet
iphongthuynet
 
phong thủy tử vi https://iphongthuy.net/
iphongthuynet
 
السر-www.newt3ch.net
New Tech.Net - التقنية.نت
 
Ad

More from Mithun Shanbhag(8)

PPTX
CloudSkew Architecture
Mithun Shanbhag
 
PPTX
Azure Pipelines
Mithun Shanbhag
 
PPTX
Terraform on Azure
Mithun Shanbhag
 
PPTX
Identity, authentication and authorization
Mithun Shanbhag
 
PPTX
Design Patterns for Data Management and Consistency
Mithun Shanbhag
 
PPTX
Creating user-mode debuggers for Windows
Mithun Shanbhag
 
PPTX
Crash course in sql
Mithun Shanbhag
 
PPTX
Crash course in git and github
Mithun Shanbhag
 
CloudSkew Architecture
Mithun Shanbhag
 
Azure Pipelines
Mithun Shanbhag
 
Terraform on Azure
Mithun Shanbhag
 
Identity, authentication and authorization
Mithun Shanbhag
 
Design Patterns for Data Management and Consistency
Mithun Shanbhag
 
Creating user-mode debuggers for Windows
Mithun Shanbhag
 
Crash course in sql
Mithun Shanbhag
 
Crash course in git and github
Mithun Shanbhag
 
Ad

Recently uploaded(20)

PDF
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PPTX
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PDF
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PDF
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PDF
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PPTX
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
PDF
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 

WSL - Windows SubSytem For Linux

Editor's Notes

  • #3: WSL is mainly for development scenarios. NOT for production scenarios.Major adv is Windows <-> Linux interop
  • #4: 1. WSL2 requires windows insider build 18917 or higher.2. You can install multiple linux distros (only one will be default).2. Can be installed in one of the following ways:Download & install from Microsoft store.Download & install APPX.2. Installation on Win Server has additional steps (unzip appx file & run installer).
  • #7: 7. Run “ls -l /usr/bin/wsl*“ to see list of wsl utilitieswslsyswslfetch –splash (takes a bit of time)wslvar –getsys8. Run “sudo /etc/init.d/docker start” to start dockerDocker psDocker imagesDocker run –it alpine /bin/sh
  • #8: 1. WSL2 requires windows insider build 18917 or higher.2. You can install multiple linux distros (only one will be default).2. Can be installed in one of the following ways:Download & install from Microsoft store.Download & install APPX.2. Installation on Win Server has additional steps (unzip appx file & run installer).
  • #10: @todo: Show examples with “--set-version” and “--unregister”.
  • #11: 1. The \\WSL$ is facilitated by 9P server (running inside /init)
  • #17: 5.1. To clarify:- If linux command prompt is under /mnt/xyz, then the windows command gets the same as its current directory.- If linux command prompt is elsewhere, then the windows command gets %WINDIR% as its current directory.
  • #20: - /etc/fstab is processed on WSL start. /etc/fstab is a file where you can declare other filesystems, like an SMB share. Thus, you can mount these filesystems automatically in WSL on start up.- /etc/hosts file, contains hostname <-> ip mapping- /etc/resolv.conf file, contains list of DNS resolution servers
  • #21: 1.2. Not really a limitation. More like a blessing.3.1. We’ll explore more in detail in WSL2 architecture.
  • #22: @todo: wslpath
  • #24: NTDLL, PEB, TEB etc are the standard interfaces between user-mode processes and the NT kernel. 3. Pico processes do not interact with NT Kernel directly.3. When NT Kernel detect a process without PEB/TEB/NTDLL, it asks LXSS/LXCore to interact with it instead. 3. @todo: The pico providers (LXSS/LXCore) provide POSIX compliance for NT Kernel?
  • #27: 1. VFS abstracts all file system operations. 1. Various ile systems are mounted on different directories in the VFS namespace. 1. VFS utilizes a number of data structures- inodes - directory entries - file objects- file descriptors,- special files (device files, FIFOs, sockets, symbolic links).
  • #28: 2. The first time an NT process requests launching a Linux binary an instance is created. Once the last NT client closes, the Linux instance is terminated. Notes on /init: /init is a multi-purpose binary that was written by Microsoft and is shipped as a binary resource contained in LxssManager.dll. When /init is launched, it first checks its PID. If the PID is 1, /init will run in "daemon mode" where it essentially the Lxss Manger service’s endpoint inside a WSL instance. If the PID is not 1, /init runs as "binfmt_misc interpreter mode" which allows launching NT binaries.
  • #29: Advantages of WSL2 over WSL- Faster file access- Full kernel implementation7. Key thing to remember is that linux is running side-by-side with windows (and not inside it).
  • #30: 4. The EXT4 VHD is mapped in. Then the /init process is run.
  • #31: Important to note that:In WSL1, both Windows & Linux were running on same machine.In WSL2, they are running in “separate” machines.The P9 server facilitates Windows <-> Linux file sharing.- In the scenario above, P9 allows Linux VM access to windows file share
  • #32: 9P facilitates \\WSL$ share
  • #33: P9 here facilitates mounting of windows file share
  • #34: Single linux kernel serves multiple distros

[8]ページ先頭

©2009-2025 Movatter.jp