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

Posted on in Categories , last updated February 25, 2010

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.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

Share this on (or read 21 comments/add one below):

21 comment

  1. 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 ;))

  2. 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 !

  3. @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 ;)

    1. 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!

    2. 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 ;)

      1. 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.

  4. 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!

  5. 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???

  6. 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.

Leave a Comment