Chapter 4: Windows to Linux Interoperability

In Chapter 1, Introduction to the Windows Subsystem for Linux, we compared the WSL experience to running Linux in a virtual machine; where virtual machines are focused around isolation, WSL has strong interoperability built in between Windows and Linux. In this chapter, you will start to be introduced to these capabilities, starting with interacting with files and applications running under WSL and files from the Windows host environment. This will include looking at how to pipe output between scripts running in Windows and WSL. After this, we will look at how WSL enables web applications in Linux to be accessed from Windows.

In this chapter, we're going to cover the following main topics:

  • Accessing ...

Get Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.