Nguyễn Thuỳ Chi
New member
How do I run a Linux executable on Windows?
Answer
Run Linux tools from a Windows command line
Run Linux binaries from the Windows Command Prompt (CMD) or PowerShell using
wsl
<command/> (or wsl.exe
<command>
). Binaries invoked in this way: Use the same working directory as the current CMD or PowerShell prompt. Run as the WSL default user.
</command>
Answer
Run Linux tools from a Windows command line
Run Linux binaries from the Windows Command Prompt (CMD) or PowerShell using
wsl
<command/> (or wsl.exe
<command>
). Binaries invoked in this way: Use the same working directory as the current CMD or PowerShell prompt. Run as the WSL default user.
</command>