Skip to content

Commit 215d11d

Browse files
author
Trond B. Krokli
authored
WSL/FAQ: update URLs to current docs
During a recent lookup in the FAQ based on a statement in a ticket in the MS ServerDocs pages, I noticed that more than 1 link points to old and no longer maintained pages (/previous-versions/, MSDN, TechNet). Changes proposed: - "Remove-AppxPackage cmdlet" URL: [/previous-versions//hh856038(v=technet.10)] => [/powershell/module/appx/remove-appxpackage] - [Do not change Linux files using Windows apps and tools] URL: (https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/) => (https://devblogs.microsoft.com/commandline/do-not-change-linux-files-using-windows-apps-and-tools/) - [Bash for Windows: Why it’s awesome and what it means for PowerShell] URL: (https://blogs.msdn.microsoft.com/powershell/2016/04/01/bash-for-windows-why-its-awesome-and-what-it-means-for-powershell/) => (https://devblogs.microsoft.com/powershell/bash-for-windows-why-its-awesome-and-what-it-means-for-powershell/) - [command-line team blog] URL: (https://blogs.msdn.microsoft.com/commandline/) => (https://devblogs.microsoft.com/commandline/) Whitespace changes, formatting, cosmetic typos etc.: - Remove redundant blanks at end-of-line (12 occurrences) - "filesystem" => 'file system' (3 occurrences) - "Appdata" => 'AppData' (1 occurrence) Ref. issue ticket https://github.com/MicrosoftDocs/windowsserverdocs/issues/5023
1 parent 07c5d79 commit 215d11d

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

WSL/faq.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ WSL provides an application called Bash.exe that, when started, opens a Windows
2626

2727
![Screenshot of distro details](media/distro.png)
2828

29-
You can also access your local machine’s filesystem from within the Linux Bash shell – you’ll find your local drives mounted under the `/mnt` folder. For example, your `C:` drive is mounted under `/mnt/c`:
29+
You can also access your local machine’s file system from within the Linux Bash shell – you’ll find your local drives mounted under the `/mnt` folder. For example, your `C:` drive is mounted under `/mnt/c`:
3030

3131
![Screenshot of mounted C drive](media/ls.png)
3232

@@ -58,15 +58,15 @@ These are just some of issues that caused many people to ask Microsoft to improv
5858

5959
While working with OSS projects, there are numerous scenarios where it’s immensely useful to drop into Bash from a PowerShell prompt. Bash support is complementary and strengthens the value of the command-line on Windows, allowing PowerShell and the PowerShell community to leverage other popular technologies.
6060

61-
Read more on the PowerShell team blog -- [Bash for Windows: Why it’s awesome and what it means for PowerShell](https://blogs.msdn.microsoft.com/powershell/2016/04/01/bash-for-windows-why-its-awesome-and-what-it-means-for-powershell/)
61+
Read more on the PowerShell team blog -- [Bash for Windows: Why it’s awesome and what it means for PowerShell](https://devblogs.microsoft.com/powershell/bash-for-windows-why-its-awesome-and-what-it-means-for-powershell/)
6262

6363
## Can I run ALL Linux apps in WSL?
6464

6565
No! WSL is a tool aimed at enabling users who need them to run Bash and core Linux command-line tools on Windows.
6666

67-
WSL does **not** aim to support GUI desktops or applications (e.g. Gnome, KDE, etc.)
67+
WSL does **not** aim to support GUI desktops or applications (e.g. Gnome, KDE, etc.)
6868

69-
Also, even though you will be able to run many popular server applications (e.g. Redis), we do not recommend WSL for hosting production services – Microsoft offers a variety of solutions for running production Linux workloads in Azure, Hyper-V, and Docker.
69+
Also, even though you will be able to run many popular server applications (e.g. Redis), we do not recommend WSL for hosting production services – Microsoft offers a variety of solutions for running production Linux workloads in Azure, Hyper-V, and Docker.
7070

7171
## What Windows SKUs is WSL included in?
7272

@@ -80,13 +80,13 @@ WSL supports x64 and ARM CPUs.
8080

8181
## How do I access my C: drive?
8282

83-
Mount points for hard drives on the local machine are automatically created and provide easy access to the Windows filesystem.
83+
Mount points for hard drives on the local machine are automatically created and provide easy access to the Windows file system.
8484

8585
**/mnt/\<drive letter>/**
8686

8787
Example usage would be `cd /mnt/c` to access c:\
8888

89-
## How do I set up Git Credential Manager? (How do I use my Windows Git permissions in WSL?)
89+
## How do I set up Git Credential Manager? (How do I use my Windows Git permissions in WSL?)
9090

9191
Git Credential Manager enables you to authenticate a remote Git server, even if you have a complex authentication pattern like Azure Active Directory or two-factor authentication. Git Credential Manager integrates into the authentication flow for services like GitHub and, once you're authenticated to your hosting provider, requests a new authentication token. It then stores the token securely in the Windows Credential Manager. After the first time, you can use git to talk to your hosting provider without needing to re-authenticate. It will just access the token in the Windows Credential Manager.
9292

@@ -102,13 +102,13 @@ This support relies on the [interoperability between Windows Subsystem for Linux
102102

103103
## How do I use a Windows file with a Linux app?
104104

105-
One of the benefits of WSL is being able to access your files via both Windows and Linux apps or tools.
105+
One of the benefits of WSL is being able to access your files via both Windows and Linux apps or tools.
106106

107107
WSL mounts your machine's fixed drives under the `/mnt/<drive>` folder in your Linux distros. For example, your `C:` drive is mounted under `/mnt/c/`
108108

109109
Using your mounted drives, you can edit code in, for example, `C:\dev\myproj\` using [Visual Studio](https://visualstudio.microsoft.com/vs/) / or [VS Code](https://code.visualstudio.com/), and build/test that code in Linux by accessing the same files via `/mnt/c/dev/myproj`.
110110

111-
> **IMPORTANT NOTE**: One of the key limitations of using WSL is that directly accessing/changing files in your Linux distros' filesystem using Windows apps or tools is not supported. See: [Do not change Linux files using Windows apps and tools](https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/)
111+
> **IMPORTANT NOTE**: One of the key limitations of using WSL is that directly accessing/changing files in your Linux distros' file system using Windows apps or tools is not supported. See: [Do not change Linux files using Windows apps and tools](https://devblogs.microsoft.com/commandline/do-not-change-linux-files-using-windows-apps-and-tools/)
112112
113113
## Are files in the Linux drive different from the mounted Windows drive?
114114

@@ -140,7 +140,7 @@ To fix issues related to `udev`, follow the following steps:
140140
```bash
141141
chmod +x /usr/sbin/policy-rc.d
142142
```
143-
143+
144144
3. Run the following commands
145145

146146
```bash
@@ -155,8 +155,8 @@ On builds prior to 1709 (16299) open a command prompt and run:
155155
```batchfile
156156
lxrun /uninstall /full
157157
```
158-
159-
WSL distributions installed from the store can be uninstalled like any other Windows app, by right-clicking on the app tile and clicking Uninstall, or via PowerShell using the [`Remove-AppxPackage` cmdlet](/previous-versions//hh856038(v=technet.10)).
158+
159+
WSL distributions installed from the store can be uninstalled like any other Windows app, by right-clicking on the app tile and clicking Uninstall, or via PowerShell using the [`Remove-AppxPackage` cmdlet](https://docs.microsoft.com/powershell/module/appx/remove-appxpackage).
160160

161161
## Why does ping generate permission denied errors?
162162

@@ -203,9 +203,9 @@ WSL shares the IP address of Windows, as it is running on Windows. As such you c
203203

204204
## How can I back up my WSL distros, or move them from one drive to another?
205205

206-
The best way to backup or move your distros is via the export/import commands available in Windows Version 1809 and later. You can export your entire distribution to a tarball using the `wsl --export` command. You can then import this distro back into WSL using the `wsl --import` command, which can name a new drive location for the import, allowing you to backup and save states of (or move) your WSL distributions.
206+
The best way to backup or move your distros is via the export/import commands available in Windows Version 1809 and later. You can export your entire distribution to a tarball using the `wsl --export` command. You can then import this distro back into WSL using the `wsl --import` command, which can name a new drive location for the import, allowing you to backup and save states of (or move) your WSL distributions.
207207

208-
Please note that traditional backup services that backup files in your Appdata folders (like Windows Backup) will not corrupt your Linux files.
208+
Please note that traditional backup services that backup files in your AppData folders (like Windows Backup) will not corrupt your Linux files.
209209

210210
## Where can I provide feedback?
211211

@@ -217,5 +217,5 @@ If you have technical issues, or want to request new features please go to our G
217217

218218
If you'd like to stay up to date with the latest WSL news you can do so with:
219219
220-
* Our [command-line team blog](https://blogs.msdn.microsoft.com/commandline/)
221-
* Twitter. Please follow [@craigaloewen](https://twitter.com/craigaloewen) on Twitter to learn of news, updates, etc.
220+
* Our [command-line team blog](https://devblogs.microsoft.com/commandline/)
221+
* Twitter. Please follow [@craigaloewen](https://twitter.com/craigaloewen) on Twitter to learn of news, updates, etc.

0 commit comments

Comments
 (0)