up vote 2 down vote favorite
share [g+] share [fb]

I am used to some Unix utilites for simple things like line counts, word counts, and the like.

Are there any utilities available for Windows where we can use *nix functionality?

link|improve this question

76% accept rate
See also stackoverflow.com/questions/247234/… – Martin Beckett Oct 16 '09 at 15:31
Duplicate of superuser.com/questions/33343/… – Matthew Talbert Oct 16 '09 at 17:52
feedback

migrated from stackoverflow.com Oct 16 '09 at 16:06

This question came from our site for professional and enthusiast programmers.

12 Answers

up vote 10 down vote accepted

You can look at Cygwin. It is a collection of UNIX tools that you can run under Windows

link|improve this answer
1  
The tools themselves are great, but that installer! – Phoshi Oct 16 '09 at 16:11
feedback

There is GNU utilities for Win32 if you don't want to install Cygwin. Plus, MinGW provides MSYS which includes GNU core utilities.

link|improve this answer
feedback

For a no-hassle, no cygwin pain set of UNIX utils, check out UnixUtils on SourceForge. They just work out of the box.

link|improve this answer
feedback

GNU Win32 is a reasonable up to date version of the GNU command line utils for Windows.

Edit: Strangely, I can't find wc on the list of tools GnuWin32 includes, so it may not be useful in this particular instance.

link|improve this answer
Certainly it's there, (text utilities) gnuwin32.sourceforge.net/packages/coreutils.htm. – therube Feb 11 '11 at 7:20
feedback

Check out MSYS (a contraction of "Minimal SYStem"). Just grab this file and be happy.

It's a Bourne Shell command line interpreter system that I highly recommend as an alternative to Microsoft's cmd.exe. It provides a general purpose command line environment like grep and awk.

I use it daily for ad hoc scripting and I love it. Also installing is simpler comparing to Cygwin.

And do not get confused with MinGW. MinGW is just complete programming environment (eg. compiler, headers, linker, etc). This probably you don't need.

link|improve this answer
feedback

No-one's mentioned Microsoft Windows Services for Unix yet.

link|improve this answer
feedback

What about using Powershell, who is kind of shell for Windows.

It's a little bit different than *nix shells, but it can access to the .NET Framework.

link|improve this answer
feedback

You can take a look at cygwin.

link|improve this answer
feedback

You mean something like that...?

Cygwin

That was the first name that came to my mind...

link|improve this answer
feedback

Cygwin gives you a powerful UNIX environment on the Windows platform. I use Cygwin primarily for the command-line capabilities (and often). See www.cygwin.com.

Regards, --daniel

link|improve this answer
feedback

Check out Cygwin.

link|improve this answer
feedback

"DJGPP is a complete 32-bit C/C++ development system for Intel 80386 (and higher) PCs running DOS. It includes ports of many GNU development utilities."

http://www.delorie.com/djgpp/

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.