UNIX Command Line Tools For MS-Windows XP / Vista / 7 Operating Systems

by on February 25, 2010 · 21 comments· LAST UPDATED February 25, 2010

in

I wish I had access to one of those nifty UNIX command-line tools under MS-Windows Vista or XP operating systems. How do I access UNIX command line utilities under Windows with out using virtualization?

A Unix-like environment and command-line interface for Microsoft Windows can be provided using the following softwares.

Cygwin

Cygwin provides native integration of Windows-based applications, data, and other system resources with applications, software tools, and data of the Unix-like environment. Thus it is possible to launch Windows applications from the Cygwin environment, as well as to use Cygwin tools and applications within the Windows operating context.

GNU Utilities For Win32

Here are some ports of common GNU utilities to native Win32. In this context, native means the executables do only depend on the Microsoft C-runtime (msvcrt.dll) and not an emulation layer like that provided by Cygwin tools. If you don't care about having a full UNIX shell environment, this is a great download for you.

GnuWin

GnuWin provides Win32-versions of GNU tools, or tools with a similar open source licence. The ports are native ports, that is they rely only on libraries provided with any 32-bits MS-Windows operating system, such as MS-Windows 95 / 98 / 2000 / NT / XP / Vista etc.

40 UNIX Commands Ported To DOS

A little outdated but provides 40 UNIX utilities for DOS and it may work under earlier version of Windows too.

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 21 comments… read them below or add one }

1 Boris February 25, 2010 at 12:10 pm

Not very relevant, but a great shell for Windows is “Windows PowerShell”. It’s a micro$oft tool, but tab completion really change the basic cmd.exe.
Maybe a misunderstand from me (I’m French sorry for this ;))

Reply

2 Rob February 25, 2010 at 12:59 pm

Also consider the Picnix set of small exe’s from http://sourceforge.net/projects/picnix/. A different but very useful set:

cat, chmod, cp, df, diff, du, fgrep, grep, head, ls, more, mv, pmake, pmore, psort, rm, sleep, strings, tail, tee, touch, uniq, wc, and which.

Reply

3 Zafer February 25, 2010 at 5:28 pm

There is also Microsoft SFU (services for Unix) which is free, can be downloaded from Microsoft.

After MS acquired SFU, they sold it for around 99$, then they made it freely available. But it stayed as a well kept secret ;)

Hope this proves useful
Zaf

Reply

4 Diablo February 26, 2010 at 7:18 am

Boris, tab completion is really great in Windows 2008, but still, how many years they took to implement this ? Working with PowerShell is hard and annoying! Windows was designed for clicks. Unix is the real thing :)

This tools are very helpfull, thanks !

Reply

5 Boris February 26, 2010 at 2:54 pm

@Diablo, of course, I’m not saying Windows is designed for shell ;)
I just played with Mencoder for Windows and for Linux, and on Windows version, PowerSheel saved my time more than the standart cmd.exe ;)

Reply

6 Danny Navarro February 27, 2010 at 4:24 pm

mingw with msys is also a good native alternative to cygwin for the basic gnu utilities.

Reply

7 Dave July 10, 2010 at 4:29 pm

SFU is no longer available as a separate download now because it is included in the R2 distribution of Windows and is referred to now as Subsystem for UNIX-based Applications (SUA).
http://technet.microsoft.com/en-us/library/cc771672.aspx
http://en.wikipedia.org/wiki/Microsoft_Windows_Services_for_UNIX

Reply

8 Jonathan January 10, 2012 at 9:04 pm

Not true. The link still works, and the download is still there.

Reply

9 Yahn September 18, 2011 at 8:51 pm

AT&T’s UWIN allows UNIX applications to be built and run on Microsoft Windows
http://www2.research.att.com/sw/download/
usename: I accept http://www.opensource.org/licenses/cpl
password: .

password is a dot!

Reply

10 Vijaya November 23, 2011 at 7:25 am

I have Windows 7 , I want to practice UNIX. How can i do this? Is there any online site where we can practice unix , please let me know

Reply

11 tina November 27, 2011 at 9:21 pm

download a ubuntu or such, install it and practice.

Reply

12 balo.balthazar February 10, 2012 at 3:30 am

just download slax live CD it is a very useful ‘bootable’ CD where you can practice on Linux. you get it at “http://www.slax.org/get_slax.php” just download the ISO image and burn it, then turn your computer boot priority to your DVD drive and boot from it. But before starting Linux it is always advisable to document yourself!

Reply

13 John Doe September 13, 2012 at 3:57 am

First and Last… its Primary! DONT ASK STUPID QUATIONS? Use search engine firstly.
Second. Read a Manuals, for example: ***.freebsd.org
Third: Take a old PC and install FreeBSD or Linux on It or install Virtual Machine on your Win7 host (like VMWare Workstation etc.)

Last: DONT ASK STUPID QUATIONS! DONT ASK HOW! JUST SEARCH AND READ! MORE THINK and READ and LESS write to forum.
Understand, that ALL questions that you asked, is already answered by someone and to place those answers to Internet… So… SEARCH AND READ! And Welcome to Reality!))))

PS. Sorry for my French ;)

Reply

14 Blue July 14, 2013 at 6:44 pm

John Doe — you’re a jerk. Asking questions like the original one is *exactly* what forums like this are for.

It’s easy to search and find potential solutions. What the original poster was looking for was an experiential basis.

There are no “stupd quastions.” There are only stupid responses to someone trying to find help — and yours is a prime example.

Reply

15 deepika January 28, 2012 at 1:17 pm

how i login after enable the telnet in window 7..???

Reply

16 Groupusers February 12, 2012 at 2:34 pm

Cygwin tools , a unix installation for windows a great tool for beginners. Have personally worked on it , a awesome tool

Reply

17 Jeremiah Benard July 30, 2012 at 1:18 pm

I would like to get window Linux for free trail vision so that i can lean more about this window.Can you help me about this?I be happy when you replay my email soon as possible!

Reply

18 shenbga pandiyan December 31, 2012 at 3:40 pm

im new to unix operating system. In the downloading process there are lot of packages are available for to select as well as skip. I want to know exactly which packages will be required for only to excute unix commands. Unix Shell package is already available into the list of packages, is it alone to excute unix commands???

Reply

19 MACK July 13, 2013 at 11:20 am

it takes more time to download and even if my network is speed it takes more time about an hr ago i started downloading till now it is still not even 25%

Reply

20 Prakash July 21, 2014 at 6:56 am

hi folks,
1] Is it possible to run shell script on win 7 OS without using any Linux / Unix OS boot- able CD ?
2] if YES then how ?
3] Is there any java application to run Unix / Linux Commands.

Reply

21 Moo October 2, 2014 at 1:03 pm

best i have found is Babun
It is a cleaner more refined version of Cygwin
http://babun.github.io/

Reply

Leave a Comment

Tagged as: , , , , , , , , , , , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: