Welcome to my site. Please CLICK HERE to give your opinions regarding this new look of "PCTipsbyAnu". Thanks for visiting.

Thursday, August 5, 2010

Browse » Home » , , , , , , , , » How to use UNIX/LINUX commands in WINDOWS - (2)

How to use UNIX/LINUX commands in WINDOWS - (2)

Hi everyone, few days before, I Post a Article regarding "Use UNIX/LINUX commands in Windows", and I promised you that with in few days I'll Post another article regarding this Topic.
So, friends here is another program that will fire/run UNIX/LINUX commands in windows.
This tool is better that CoreUtils because with the help of this tool you can easily use maximum commands of Linux/Unix.
Lets check ....

If you are an experienced UNIX user who misses a powerful command-line environment, you will enjoy Cygwin. Developers coming from a UNIX background will find a set of utilities they are already comfortable using, including a working UNIX shell. The compiler tools are the standard GNU compilers most people will have previously used under UNIX, only ported to the Windows host. Programmers wishing to port UNIX software to Windows NT will find that the Cygwin library provides an easy way to port many UNIX packages, with only minimal source code changes.
Cygwin is not a full operating system, and so must rely on Windows for accomplishing some tasks. For example, Cygwin provides a POSIX view of the Windows filesystem, but does not provide filesystem drivers of its own. Therefore part of using Cygwin effectively is learning to use Windows effectively. Many Windows utilities provide a good way to interact with Cygwin's predominately command-line environment. For example, ipconfig.exe provides information about network configuration, and net.exe views and configures network file and printer resources. Most of these tools support the /? switch to display usage information.
Unfortunately, no standard set of tools included with all versions of Windows exists. If you are unfamiliar with the tools available on your system, here is a general guide. Windows NT 4.0 has only a basic set of tools, which later versions of Windows expanded. Microsoft also provides free downloads for Windows NT 4.0 (the Resource Kit Support Tools), Windows 2000 (the Resource Kit Tools), and XP (the Windows Support Tools). Generally, the younger the Windows version, the more complete are the on-board tools. Additionally, many independent sites such as download.com, simtel.net, and Microsoft's own Sysinternals provide quite useful command-line utilities, as far as they are not already provided by Cygwin. A few Windows tools, such as find.exe, link.exe and sort.exe, may conflict with the Cygwin versions make sure that you use the full path (/usr/bin/find) or that your Cygwin bin directory comes first in your PATH.


1) First of all DOWNLOAD Cgywin from HERE. 

2) Extract Cgywin.zip and Double click (Press ENTER) on Setup_6.exe.


4) Choose Installation Type, 
(1) In this post I'll choose 'Install from Internet'. Now it will download Linux/Unix packages from Internet and Install them.

(2) If you want to only install Cgywin, than you can choose 'Install without downloading'.

(3) If you have the Packages of Unix/Linux, than you can choose 
'Download from local directory'.

5) In this STEP you must define the Root directory / Cgywin installation directory and also select that Cgywin install for All Users or for only Current User.

6) Here you must select 'Local Package Directory'.
I think that you have remember the 'Installation type' step.
In this STEP, I select 'Install from Internet', so Cgywin download packages from Internet and Copy them at this 'Local Package Directory'

7)  Connection Type:
(1) Its By default. Its means that Cgywin directly download packages from Internet through your real IP.

(2) If you are currently in School/Office or you don't know that What to do at this STEP?
So, you can use this option, it will tell Cgywin that it must use the Internet Explorer Configuration for 'Install from Internet'.

(3) If you are using a Proxy Server or some other Proxy for hiding your IP, so you can also define that Proxy.

Here, Cgywin gets the MIRROR list for you, so you can select an appropriate MIRROR for downloading and installing.

8) Choose an appropriate MIRROR from that list that are provided by Cgywin for downloading and installing the packages.

Here Cgywin gets the information for your selected MIRROR.

9) Here you can select Packages that you want to install or you want to use.
'VIEW' tab display you information, like  : Installed Packages, Uninstalled Packages... etc.

After completion of STEP: 9, Cgywin is installed and now use can use Linux/Unix Commands in Windows.
Click on Cgywin icon and press Enter or Double Click on Cgywin icon.
Here is the look of Cgywin after installation.

If this post is helpful for you or you want more information regarding Cgywin, than leave a comment or contact me via 'Contact me' (On the top of the screen).
You can leave a response, or trackback from your own site.

About 'Anu': My name is 'Anu' also Known as 'ANU 007 TIGER' .I'm administrator of 'PC Tips by Anu' blog .This blog was opened for sharing contents about hacking n cracking.


Anonymous said...

Its better than your previous post and also good explained......

thanks for that useful sharing

Maximus said...

Good n best sharing buddy

Post a Comment

Back to Top