You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also used "```bash" instead of "``` BASH".
Either should work, but lowercase and no space is more traditional.
And changed "``` CMD" to "```batchfile".
Copy file name to clipboardExpand all lines: commandline/WSL/faq.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,8 @@ You can also access your local machine’s filesystem from within the Linux Bash
30
30
31
31

32
32
33
-
### What is BASH?
34
-
[BASH](https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29) is a popular text-based shell and command-language. It is the default shell included within Ubuntu and other Linux distros, and in MacOS. Users type commands into a shell to execute scripts and/or run commands and tools to accomplish many tasks.
33
+
### What is Bash?
34
+
[Bash](https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29) is a popular text-based shell and command-language. It is the default shell included within Ubuntu and other Linux distros, and in MacOS. Users type commands into a shell to execute scripts and/or run commands and tools to accomplish many tasks.
35
35
36
36
### How does this work?
37
37
Check out our [blog](https://blogs.msdn.microsoft.com/wsl/) where we go into detail about the underlying technology.
@@ -47,7 +47,7 @@ Many languages like Ruby and node are often ported to, and run great, on Windows
47
47
These are just some of issues that caused many people to ask Microsoft to improve Windows’ command-line tools and what drove us to partner with Canonical to enable native Bash and Linux command-line tools to run on Windows.
48
48
49
49
### What does this mean for PowerShell?
50
-
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.
50
+
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.
51
51
52
52
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/)
53
53
@@ -113,28 +113,28 @@ To fix issues related to `udev`, follow the following steps:
113
113
114
114
1. Write the following to `/usr/sbin/policy-rc.d` and save your changes.
115
115
116
-
```BASH
116
+
```bash
117
117
#!/bin/sh
118
118
exit 101
119
119
```
120
120
121
121
2. Add execute permissions to `/usr/sbin/policy-rc.d`
122
122
123
-
``` BASH
123
+
```bash
124
124
chmod +x /usr/sbin/policy-rc.d
125
125
```
126
126
127
127
2. Run the following commands
128
128
129
-
``` BASH
129
+
```bash
130
130
dpkg-divert --local --rename --add /sbin/initctl
131
131
ln -s /bin/true /sbin/initctl
132
132
```
133
133
134
134
### How do I uninstall WSL?
135
135
136
136
Open a command prompt and run:
137
-
``` CMD
137
+
```batchfile
138
138
lxrun /uninstall /full
139
139
```
140
140
@@ -159,7 +159,7 @@ The Windows Subsystem for Linux feature may be disabled during a Windows update.
159
159
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 bash.exe for this change to take effect.
0 commit comments