Use this tag for questions about the Windows Subsystem for Linux, including Bash on Ubuntu on Windows and other distributions running under WSL.
General Bash or other questions that don't specifically relate to WSL should have the tag removed. External Windows questions should be migrated to Super User.
The Windows Subsystem for Linux (WSL) is a Windows feature enabling native ELF64 Linux executables to run on MS Windows. WSL 1 emulates the Linux syscall interface, providing lightweight "pico" processes, while WSL 2 runs a real Linux kernel in virtualization. It focuses on supporting command-line applications and shell scripting, and some graphical applications under Windows 11. The default configuration is branded as "Bash on Ubuntu on Windows" in partnership with Canonical.
Potentially-useful blog posts:
- Overview
- WSL file systems, including DrvFS (
/mnt/c
) and VolFS (/home
,/usr
) - The WSL blog
- The Command-Line blog
Canonical questions for this tag: