Chapter 5: Linux to Windows Interoperability

In Chapter 1, Introduction to the Windows Subsystem for Linux, we compared the WSL experience to running Linux in a virtual machine and mentioned the WSL capabilities for interoperability. In Chapter 4, Windows to Linux Interoperability, we saw how to begin leveraging these interoperability features from the Windows side. In this chapter, we will continue exploring the interoperability features, but this time from the Linux side. This will allow you to bring the capabilities of Windows commands and tools into WSL environments.

We will start by looking at how to interact with Windows applications and files from within the WSL environment. Next up, we will look at how to work with scripts across Linux ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.