Skip to content

Commit 69b03f1

Browse files
cwilhitscooley
authored andcommitted
Update wsl-config.md (#146)
* Update wsl-config.md wsl -c [command] needs to be changed to wsl [command]. This invocation convention is a bit finicky. * Update wsl-config.md
1 parent e9e3d37 commit 69b03f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

commandline/WSL/wsl-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ Lists all distributions, including ones that aren't currently usable. They may
4646
There are three ways to launch and run WSL:
4747

4848
1. `wsl.exe` or `bash.exe`
49-
1. `wsl -c [command]` or `bash -c [command]`
49+
1. `wsl [command]` or `bash -c [command]`
5050
1. `[distro]` ie `ubuntu` -- this is the same as launching the installed app from the Windows menu.
5151

52-
In the first two cases, WSL must pick a distribution to run - a default distribution. If you don't explicitly set a default, it will be the first one installed.
52+
In the first two cases, WSL must pick a distribution to run - a default distribution. If you don't explicitly set a default, it will be the first one installed. Please note that when appending a command and invoking via 'wsl', you don't append a '-c' for the command.
5353

5454
`wslconfig /setdefault <DistributionName>`
5555
Sets the default distribution to `<DistributionName>`.

0 commit comments

Comments
 (0)