What can cygwin do?
- Windows dos scripts features are very weak and few command line tools are available. If you are familiar with Linux, cygwin can help you use Bash in windows, and the use of a large number of Linux commands, through scripts, can more efficiently complete system management work [Webmaster maintenance of several Windows Servers installed with cygwin, all system maintenance, data backup, SCP automatic synchronization is all processed under cygwin.] (It is undeniable that the command line tool is more convenient and convenient than the graphic interface tool in many cases)
- If you have just entered the Linux World, cygwin allows you to practice Linux bash and common tools under windows. You do not need to install Linux or worry about windows being damaged.
Cygwin Installation
1 download setup.exe
Install cygwinand download setup.exe. This program downloads all the components from the Internet based on the selected software package.
Download URL: http://www.cygwin.cn/site/install/
2. Select the installation method: Install from Internet
3. Select a download source. In the download list, select:Http://www.cygwin.cnAlternatively, enterHttp://www.cygwin.cn/pub/
Select this source as much as possible. The others are foreign, generally only 10 to 20 KB. This Chinese source can easily reach 100.
4. Select a software package. If you are not familiar with the software package, you 'd better install it all for the first time. The default package will not work. Otherwise, no software will be available for a while.
Cygwin program running:
After the installation is successful, you also need to set the environment to change the content of cygwin. bat under the cygwin directory
**************************************** ***********
@ Echo off
Set cygwin = binmode tty ntsec
C:
Chdir C:/cygwin/bin
Bash -- login-I
**************************************** **************
Replace C with your own installation directory so that you can run the commands in Linux.