wsl -h显示以下内容: --exec, -e <CommandLine> Execute the specified command without using the default此外,作为示例,我现在有三种可能的方法来从我的PowerShell提示符运行Linux ls (即,这将不是ls的Get-ChildItem别名,而是通过WSL的Linux命令): PS C:\> wsl-e ls # Alternatively, wsl --exec ls
PS C:\> <e
我无法将WebStorm配置为在WSL中使用我的项目(这发生在我重新安装了Windows和WSL之后)。我认为这个问题与WSL配置有关,但我找不到确切的问题。
C:\Users\FTowe>wsl --statusDefault VersionLinux was last updated on 3/6/2022
The Windows Subsystem for Li