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

by Vivek Gite on February 25, 2010 · 11 comments

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.

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 11 comments… read them below or add one }

1 Boris February 25, 2010

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

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

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

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

@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

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

Reply

7 Dave July 10, 2010

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

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

Reply

9 Vijaya November 23, 2011

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

10 tina November 27, 2011

download a ubuntu or such, install it and practice.

Reply

11 deepika January 28, 2012

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

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 12 + 5 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the simple math so we know that you are a human and not a script.




Previous post:

Next post: