Reputation: 368
When I try to execute cmd commands such as wsl -l
, wsl returns this message:
/bin/bash: -c: option requires an argument
However, using wsl
as a bash command launcher works.
What do I have to do in order to use wsl windows options such as wsl -l
, wsl --install
, etc.?
Thanks in advance!
Upvotes: 0
Views: 265
Reputation: 204
I assume that you've entered wsl
command in the Linux terminal and when you did this the first time bash answered you that the command was not found , so you installed 'wsl' package. This is a completely different package. If you want to invoke Windows binaries from bash you should use .exe file extension. Try wsl.exe -l
Upvotes: 1