vote up 1 vote down star

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?

flag

See also stackoverflow.com/questions/247234/… – mgb Oct 16 at 15:31
Duplicate of superuser.com/questions/33343/… – Matthew Talbert Oct 16 at 17:52

migrated from stackoverflow.com

11 Answers

vote up 10 vote down check

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

link|flag
The tools themselves are great, but that installer! – Phoshi Oct 16 at 16:11
vote up 8 vote down

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

link|flag
vote up 7 vote down

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

link|flag
vote up 4 vote down

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|flag
vote up 3 vote down

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|flag
vote up 3 vote down

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

link|flag
vote up 2 vote down

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|flag
vote up 1 vote down

You can take a look at cygwin.

link|flag
vote up 1 vote down

You mean something like that...?

Cygwin

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

link|flag
vote up 1 vote down

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|flag
vote up 0 vote down

Check out Cygwin.

link|flag

Your Answer

Get an OpenID
or
never shown

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