Skip to content

Commit

Permalink
Fix a few typos (MicrosoftDocs#1942)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden authored Apr 16, 2024
1 parent f4900a4 commit 1ff629e
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion WSL/disk-space.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ To repair a disk mount error in WSL, and restore it back to a usable / writeable
```
> [!NOTE]
> If you only have a single Linux distribution installed, you may encounter a "ext file in use" error and will need to [install](./basic-commands.md#install) an additional distribution in order to run `wsl.exe lsblk`. You can [uninstall](./basic-commands.md#unregister-or-uninstall-a-linux-distribution) the distribution once the repair is complete.
> If you only have a single Linux distribution installed, you may encounter an "ext file in use" error and will need to [install](./basic-commands.md#install) an additional distribution in order to run `wsl.exe lsblk`. You can [uninstall](./basic-commands.md#unregister-or-uninstall-a-linux-distribution) the distribution once the repair is complete.
4. Once the repair is complete, unmount the disk in PowerShell by entering:
Expand Down
2 changes: 1 addition & 1 deletion WSL/intune.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ The last group of settings that end with `*UserSettingConfigurable` control acce
| Allow custom networking configuration | When set to disabled, this policy disables custom networking configuration via .wslconfig (wsl2.networkingmode). This policy only applies to Store WSL. |
| Allow user setting firewall configuration | When set to disabled, this policy disables firewall configuration via .wslconfig (wsl2.firewall). This policy only applies to Store WSL. |
| Allow nested virtualization | When set to disabled, this policy disables nested virtualization configuration via .wslconfig (wsl2.nestedVirtualization). This policy only applies to Store WSL. |
| Allow kernel debugging | When set to disabled, this policy disables kernel kernel debugging configuration via .wslconfig (wsl2.kernelDebugPort). This policy only applies to Store WSL. |
| Allow kernel debugging | When set to disabled, this policy disables kernel debugging configuration via .wslconfig (wsl2.kernelDebugPort). This policy only applies to Store WSL. |
2 changes: 1 addition & 1 deletion WSL/networking.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ This new mode addresses networking issues seen with using a NAT (Network Address

## DNS Tunneling

Setting [`dnsTunneling=true` under `[wsl2]` in the `.wslconfig` file](./wsl-config.md#configuration-settings-for-wslconfig) has WSL use a virtulization feature to answer DNS requests from within WSL, instead of requesting them over a networking packet. This feature is aimed to improve compatibility with VPNs, and other complex networking set ups.
Setting [`dnsTunneling=true` under `[wsl2]` in the `.wslconfig` file](./wsl-config.md#configuration-settings-for-wslconfig) has WSL use a virtualization feature to answer DNS requests from within WSL, instead of requesting them over a networking packet. This feature is aimed to improve compatibility with VPNs, and other complex networking set ups.

## Auto Proxy

Expand Down
4 changes: 2 additions & 2 deletions WSL/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ The single DNS suffix configured in Linux is chosen from the per-interface DNS s

if Windows has multiple interfaces, a heuristic is used to choose the single DNS suffix that will be configured in Linux. For example if there is a VPN interface on Windows, the suffix is chosen from that interface. If no VPN interface is present, the suffix is chosen from the interface that is most likely to give Internet connectivity.

**When networkingMode is set to Mirrorred:**
**When networkingMode is set to Mirrored:**

All Windows DNS suffixes are configured in Linux, in the "search" setting of /etc/resolv.conf

Expand Down Expand Up @@ -664,7 +664,7 @@ If you're seeing this error:
Permissions 0777 for '/home/user/.ssh/private-key.pem' are too open.
```

To fix this, append the following to the the ```/etc/wsl.conf``` file:
To fix this, append the following to the ```/etc/wsl.conf``` file:

```bash
[automount]
Expand Down
4 changes: 2 additions & 2 deletions WSL/tutorials/wsl-containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Let's use Docker to create a development container for an existing app project.

![VS Code WSL Remote indicator](../media/vscode-remote-indicator.png)

4. From the VS Code command pallette (Ctrl + Shift + P), enter: **Dev Containers: Reopen in Container** as we are using a folder already opened using the WSL extension. Alternativly use **Dev Containers: Open Folder in Container...** to choose a WSL folder using the local `\\wsl$` share (from the Windows side). See the Visual Studio Code [Quick start: Open an existing folder in a container](https://code.visualstudio.com/docs/devcontainers/containers#_quick-start-open-an-existing-folder-in-a-container) for more details. If these commands don't display as you begin to type, check to ensure that you've installed the Dev Containers extension linked above.
4. From the VS Code command palette (Ctrl + Shift + P), enter: **Dev Containers: Reopen in Container** as we are using a folder already opened using the WSL extension. Alternatively, use **Dev Containers: Open Folder in Container...** to choose a WSL folder using the local `\\wsl$` share (from the Windows side). See the Visual Studio Code [Quick start: Open an existing folder in a container](https://code.visualstudio.com/docs/devcontainers/containers#_quick-start-open-an-existing-folder-in-a-container) for more details. If these commands don't display as you begin to type, check to ensure that you've installed the Dev Containers extension linked above.

![VS Code Dev Containers command](../media/docker-extension.png)

Expand All @@ -129,7 +129,7 @@ Let's use Docker to create a development container for an existing app project.
8. To confirm that your project is still connected to both WSL and within a container, open the VS Code integrated terminal (Ctrl + Shift + ~). Check the operating system by entering: `uname` and the Python version with: `python3 --version`. You can see that the uname came back as "Linux", so you are still connected to the WSL 2 engine, and Python version number will be based on the container config that may differ from the Python version installed on your WSL distribution.
9. To run and debug your app inside of the container using Visual Studio Code, first open the **Run** menu (Ctrl+Shift+D or select the tab on the far left menu bar). Then select **Run and Debug** to select a debug configuration and choose the configuration that best suites your project (in my example, this will be "Django"). This will create a `launch.json` file in the `.vscode` folder of your project with instructions on how to run your app.
9. To run and debug your app inside of the container using Visual Studio Code, first open the **Run** menu (Ctrl+Shift+D or select the tab on the far left menu bar). Then select **Run and Debug** to select a debug configuration and choose the configuration that best suits your project (in my example, this will be "Django"). This will create a `launch.json` file in the `.vscode` folder of your project with instructions on how to run your app.
![VS Code run debug configuration](../media/vscode-run-config.png)
Expand Down
2 changes: 1 addition & 1 deletion WSL/tutorials/wsl-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ To see what user accounts have been created on your PostgreSQL installation, use

For more about working with PostgreSQL databases, see the [PostgreSQL docs](https://www.postgresql.org/docs/13/tutorial-createdb.html).

To work with with PostgreSQL databases in VS Code, try the [PostgreSQL extension](https://marketplace.visualstudio.com/items?itemName=ms-ossdata.vscode-postgresql).
To work with PostgreSQL databases in VS Code, try the [PostgreSQL extension](https://marketplace.visualstudio.com/items?itemName=ms-ossdata.vscode-postgresql).

## Install MongoDB

Expand Down
2 changes: 1 addition & 1 deletion WSL/wsl2-mount-disk.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sudo mount -t drvfs D: /mnt/d

[Learn more about mounting scenarios](https://superuser.com/questions/1734353/is-there-a-way-to-mount-an-external-drive-when-it-becomes-available-in-wsl).

If you have a Ext4-formatted drive, you cannot mount it on your Windows file system. In order to mount an Ext4-formatted drive on your Linux distribution with WSL, you can use the `wsl --mount` command following the instructions below.
If you have an Ext4-formatted drive, you cannot mount it on your Windows file system. In order to mount an Ext4-formatted drive on your Linux distribution with WSL, you can use the `wsl --mount` command following the instructions below.

## Mounting an unpartitioned disk

Expand Down

0 comments on commit 1ff629e

Please sign in to comment.