Skip to content

Commit

Permalink
Update faq.yml -- tiny grammar change (MicrosoftDocs#1885)
Browse files Browse the repository at this point in the history
* Update faq.yml -- tiny grammar change 

'changes to locale to' -> 'changes the locale to'

* Update basic-commands.md

'If you running WSL' -> 'If you run WSL'

* Update basic-commands.md

* rephrase a long sentence
* swap order of two sentences to make example of command closer to the description of the command

example of command: `wsl --set-default-version 2`

* Update basic-commands.md

Replace 

wsl -u <Username>`, `wsl --user <Username>

with

wsl --user <Username>

`wsl -u <Username>` and `wsl --user <Username>` are equivalent. Both commands are correct for the section of the documentation, but the display of the commands in the documentation was incorrect due to the stray ticks and comma.
  • Loading branch information
zipperer authored Jan 5, 2024
1 parent 4294f15 commit 4be38ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions WSL/basic-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ When WSL is not installed options include:
- `--no-distribution`: Do not install a distribution when installing WSL.

> [!NOTE]
> If you running WSL on Windows 10 or an older version, you may need to include the `-d` flag with the `--install` command to specify a distribution: `wsl --install -d <distribution name>`.
> If you run WSL on Windows 10 or an older version, you may need to include the `-d` flag with the `--install` command to specify a distribution: `wsl --install -d <distribution name>`.
## List available Linux distributions

Expand Down Expand Up @@ -65,7 +65,7 @@ To designate the version of WSL (1 or 2) that a Linux distribution is running on
wsl --set-default-version <Version>
```

To set a default version of WSL 1 or WSL 2, replacing `<Version>` with either the number 1 or 2 to represent which version of WSL you would like the installation to default on for new Linux distribution installations. For example, `wsl --set-default-version 2`. [Comparing WSL 1 and WSL 2](./compare-versions.md). WSL 2 is only available in Windows 11 or Windows 10, Version 1903, Build 18362 or later.
To set a default version of WSL 1 or WSL 2, replace `<Version>` with either the number 1 or 2. For example, `wsl --set-default-version 2`. The number represents the version of WSL to default to for new Linux distribution installations. [Comparing WSL 1 and WSL 2](./compare-versions.md). WSL 2 is only available in Windows 11 or Windows 10, Version 1903, Build 18362 or later.

## Set default Linux distribution

Expand Down Expand Up @@ -128,7 +128,7 @@ See a list of options and commands available with WSL.
## Run as a specific user

```powershell
wsl -u <Username>`, `wsl --user <Username>
wsl --user <Username>
```

To run WSL as a specified user, replace `<Username>` with the name of a user that exists in the WSL distribution.
Expand Down
2 changes: 1 addition & 1 deletion WSL/faq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ sections:
answer: |
WSL install will try to automatically change the Ubuntu locale to match the locale of your Windows install. If you do not want this behavior you can run this command to change the Ubuntu locale after install completes. You will have to relaunch your WSL distribution for this change to take effect.
The below example changes to locale to en-US:
The below example changes the locale to en-US:
```bash
sudo update-locale LANG=en_US.UTF8
Expand Down

0 comments on commit 4be38ba

Please sign in to comment.