Difference between revisions of "Windows Subsystem for Linux (WLS)"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
* <code>[[dism.exe]] /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart</code></code>
 
* <code>[[dism.exe]] /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart</code></code>
 +
 +
 +
<code>[[wsl --status]]</code>
 +
(no output)
  
 
<pre>
 
<pre>
Line 26: Line 30:
 
  https://aka.ms/wslstore
 
  https://aka.ms/wslstore
  
*<code>[[wsl --list --verbose]]</code>
+
* <code>[[wsl --list --verbose]]</code>
 +
* <code>[[wsl --list]] --all --verbose</code>
  
 
*<code>[[Win+R]] ubuntu (command from [[cmd]])</code>
 
*<code>[[Win+R]] ubuntu (command from [[cmd]])</code>
Line 43: Line 48:
 
* Enable nested virtualization: <code>[[Set-VMProcessor]] -VMName YOUR_VM_NAME -ExposeVirtualizationExtensions $true</code>
 
* Enable nested virtualization: <code>[[Set-VMProcessor]] -VMName YOUR_VM_NAME -ExposeVirtualizationExtensions $true</code>
 
* [[File explorer]]: <code>\\[[wsl]]$\Ubuntu</code>
 
* [[File explorer]]: <code>\\[[wsl]]$\Ubuntu</code>
* <code>[[wls (linux command)]]</code>
+
* <code>[[wsl (linux command)]]</code>
 +
* [[Enable-WindowsOptionalFeature –FeatureName Microsoft-Hyper-V -All]]
  
 
== See also ==
 
== See also ==

Latest revision as of 10:09, 29 August 2023

wikipedia:Windows Subsystem for Linux (2016)

  • dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart


wsl --status
(no output)
Deployment Image Servicing and Management tool
Version: 10.0.19041.572

Image Version: 10.0.19042.610

Enabling feature(s)
[==========================100.0%==========================]
The operation completed successfully.
wsl
Windows Subsystem for Linux has no installed distributions.
Distributions can be installed by visiting the Microsoft Store:
https://aka.ms/wslstore
wsl -l
Windows Subsystem for Linux has no installed distributions.
Distributions can be installed by visiting the Microsoft Store:
https://aka.ms/wslstore

Limitations[edit]

Related terms[edit]

See also[edit]

Advertising: