Cygwin-Linux platform in Windows

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.