Reorganize Windows-only section per #477
This commit is contained in:
24
README.md
24
README.md
@ -555,10 +555,26 @@ These are items relevant *only* on OS X.
|
||||
|
||||
These items are relevant *only* on Windows.
|
||||
|
||||
- On Windows 10, you can use [Bash on Ubuntu on Windows](https://msdn.microsoft.com/commandline/wsl/about), which provides a familiar Bash environment with Unix command line utilities. On the plus side, this allows Linux programs to run on Windows. On the other hand this does not support the running of Windows programs from the Bash prompt.
|
||||
### Ways to obtain Unix tools under Windows
|
||||
|
||||
- Access the power of the Unix shell under Microsoft Windows by installing [Cygwin](https://cygwin.com/). Most of the things described in this document will work out of the box.
|
||||
|
||||
- On Windows 10, you can use [Bash on Ubuntu on Windows](https://msdn.microsoft.com/commandline/wsl/about), which provides a familiar Bash environment with Unix command line utilities. On the plus side, this allows Linux programs to run on Windows. On the other hand this does not support the running of Windows programs from the Bash prompt.
|
||||
|
||||
- If you mainly want to use GNU developer tools (such as GCC) on Windows, consider [MinGW](http://www.mingw.org/) and its [MSYS](http://www.mingw.org/wiki/msys) package, which provides utilities such as bash, gawk, make and grep. MSYS doesn't have all the features compared to Cygwin. MinGW is particularly useful for creating native Windows ports of Unix tools.
|
||||
|
||||
- Another option to get Unix look and feel under Windows is [Cash](https://github.com/dthree/cash). Note that only very few Unix commands and command-line options are available in this environment.
|
||||
|
||||
### Useful Windows command-line tools
|
||||
|
||||
- You can perform and script most Windows system administration tasks from the command line by learning and using `wmic`.
|
||||
|
||||
- Native command-line Windows networking tools you may find useful include `ping`, `ipconfig`, `tracert`, and `netstat`.
|
||||
|
||||
- You can perform [many useful Windows tasks](http://www.thewindowsclub.com/rundll32-shortcut-commands-windows) by invoking the `Rundll32` command.
|
||||
|
||||
### Cygwin tips and tricks
|
||||
|
||||
- Install additional Unix programs with the Cygwin's package manager.
|
||||
|
||||
- Use `mintty` as your command-line window.
|
||||
@ -571,12 +587,6 @@ These items are relevant *only* on Windows.
|
||||
|
||||
- Note that a `C:\` Windows drive path becomes `/cygdrive/c` under Cygwin, and that Cygwin's `/` appears under `C:\cygwin` on Windows. Convert between Cygwin and Windows-style file paths with `cygpath`. This is most useful in scripts that invoke Windows programs.
|
||||
|
||||
- You can perform and script most Windows system administration tasks from the command line by learning and using `wmic`.
|
||||
|
||||
- Another option to get Unix look and feel under Windows is [Cash](https://github.com/dthree/cash). Note that only very few Unix commands and command-line options are available in this environment.
|
||||
|
||||
- An alternative option to get GNU developer tools (such as GCC) on Windows is [MinGW](http://www.mingw.org/) and its [MSYS](http://www.mingw.org/wiki/msys) package, which provides utilities such as bash, gawk, make and grep. MSYS doesn't have all the features compared to Cygwin. MinGW is particularly useful for creating native Windows ports of Unix tools.
|
||||
|
||||
## More resources
|
||||
|
||||
- [awesome-shell](https://github.com/alebcay/awesome-shell): A curated list of shell tools and resources.
|
||||
|
Reference in New Issue
Block a user