Source code behind the Windows Subsystem for Linux documentation.
OTHER License
Bot releases are hidden (Show)
Published by benhillis over 5 years ago
For general Windows information on build 18334 visit the Windows blog.
Published by Brian-Perkins almost 6 years ago
For general Windows information on build 18305 visit the Windows blog.
Usage: wsl.exe [Argument] [Options...] [CommandLine]
Arguments to run Linux binaries:
If no command line is provided, wsl.exe launches the default shell.
--exec, -e <CommandLine>
Execute the specified command without using the default Linux shell.
--
Pass the remaining command line as is.
Options:
--distribution, -d <DistributionName>
Run the specified distribution.
--user, -u <UserName>
Run as the specified user.
Arguments to manage Windows Subsystem for Linux:
--export <DistributionName> <FileName>
Exports the distribution to a tar file.
The filename can be - for standard output.
--import <DistributionName> <InstallLocation> <FileName>
Imports the specified tar file as a new distribution.
The filename can be - for standard input.
--list, -l [Options]
Lists distributions.
Options:
--all
List all distributions, including distributions that are currently
being installed or uninstalled.
--running
List only distributions that are currently running.
-setdefault, -s <DistributionName>
Sets the distribution as the default.
--terminate, -t <DistributionName>
Terminates the distribution.
--unregister <DistributionName>
Unregisters the distribution.
--upgrade <DistributionName>
Upgrades the distribution to the WslFs file system format.
--help
Display usage information.
Published by benhillis almost 6 years ago
For general Windows information on build 18277 visit the Windows blog.
Published by benhillis almost 6 years ago
For general Windows information on build 18272 visit the Windows blog.
Published by benhillis almost 6 years ago
For general Windows information on build 18267 visit the Windows blog.
wslconfig.exe /terminate <DistributionName>
Published by benhillis about 6 years ago
For general Windows information on build 17763 visit the Windows Blog.
[interop]
enabled=false # enable launch of Windows binaries; default is true
appendWindowsPath=false # append Windows path to $PATH variable; default is true
/dev/kmsg
device interface. syslog
syscall interface is not yet supported. And, so, some of the dmesg
command line options such as -S
, -C
don't work.Published by benhillis about 6 years ago
For general Windows information on build 18252 visit the Windows Blog.
Published by benhillis about 6 years ago
For general Windows information on build 17738 visit the Windows Blog.
Published by benhillis about 6 years ago
For general Windows information on build 17728 visit the Windows Blog.
Published by benhillis about 6 years ago
For general Windows information on build 18204 visit the Windows Blog.
Published by benhillis about 6 years ago
For general Windows information on build 17723 visit the Windows Blog.
Published by Brian-Perkins over 6 years ago
For general Windows information on build 17713 visit the Windows Blog.
[interop]
enabled=false # enable launch of Windows binaries; default is true
appendWindowsPath=false # append Windows path to $PATH variable; default is true
Published by Brian-Perkins over 6 years ago
For general Windows information on build 17704 visit the Windows Blog.
Published by benhillis over 6 years ago
For general Windows information on build 17692 visit the Windows Blog.
Published by benhillis over 6 years ago
For general Windows information on build 17686 visit the Windows Blog.
Published by Brian-Perkins over 6 years ago
For general Windows information on build 17666 visit the Windows Blog.
Published by Brian-Perkins over 6 years ago
For general Windows information on build 17627 visit the Windows Blog.
netsh.exe advfirewall firewall add rule name=wsl_python dir=in action=allow program="C:\users\<username>\appdata\local\packages\canonicalgrouplimited.ubuntuonwindows_79rhkp1fndgsc\localstate\rootfs\usr\bin\python2.7" enable=yes
Testing in progress.
Published by benhillis over 6 years ago
For general Windows information on build 17618 visit the Windows Blog.
Testing in progress.
Published by Brian-Perkins over 6 years ago
For general Windows information on build 17110 visit the Windows Blog.
Testing in progress.
Published by Brian-Perkins over 6 years ago
For general Windows information on build 17107 visit the Windows Blog.
Testing in progress.