Skip to content

Commit d4e69b5

Browse files
gearyscooley
authored andcommitted
Bash, not BASH (#144)
Also used "```bash" instead of "``` BASH". Either should work, but lowercase and no space is more traditional. And changed "``` CMD" to "```batchfile".
1 parent d1062a7 commit d4e69b5

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

commandline/WSL/faq.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ You can also access your local machine’s filesystem from within the Linux Bash
3030

3131
![](media/ls.png)
3232

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.
3535

3636
### How does this work?
3737
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
4747
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.
4848

4949
### 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.
5151

5252
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/)
5353

@@ -113,28 +113,28 @@ To fix issues related to `udev`, follow the following steps:
113113

114114
1. Write the following to `/usr/sbin/policy-rc.d` and save your changes.
115115

116-
``` BASH
116+
```bash
117117
#!/bin/sh
118118
exit 101
119119
```
120120

121121
2. Add execute permissions to `/usr/sbin/policy-rc.d`
122122

123-
``` BASH
123+
```bash
124124
chmod +x /usr/sbin/policy-rc.d
125125
```
126126

127127
2. Run the following commands
128128

129-
``` BASH
129+
```bash
130130
dpkg-divert --local --rename --add /sbin/initctl
131131
ln -s /bin/true /sbin/initctl
132132
```
133133

134134
### How do I uninstall WSL?
135135

136136
Open a command prompt and run:
137-
``` CMD
137+
```batchfile
138138
lxrun /uninstall /full
139139
```
140140

@@ -159,7 +159,7 @@ The Windows Subsystem for Linux feature may be disabled during a Windows update.
159159
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.
160160

161161
The below example changes to locale to en-US:
162-
``` BASH
162+
```bash
163163
sudo update-locale LANG=en_US.UTF8
164164
```
165165

0 commit comments

Comments
 (0)