Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to have some of the most frequent commands which I use in Linux environment in my windows box , I know there is program called Cygwin. But I don't want to use such a heavy one . All I want is a simple ported unix commands for windows.

Is there any Utilities like that ?

PS: I've created my own 'clear' command through clear.bat with 'cls' in it and I can't do it for all commands :)

share|improve this question

closed as off-topic by Journeyman Geek May 18 at 15:47

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you're trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question." – Journeyman Geek
If this question can be reworded to fit the rules in the help center, please edit the question.

7 Answers 7

up vote 13 down vote accepted

There's a very similar question on here called "Is Cygwin the best UNIX environment for windows?". There they list a few alternatives:

Out of those, perhaps UnixUtils might serve you best.

share|improve this answer
1  
Superuser doesn't list that when I posted this! Anyhow UnxUtils serves it :) –  ukanth Sep 11 '09 at 13:52
    
Sweet. I think that I'll start using that too. –  D'Arvit Sep 11 '09 at 14:12
    
The linked question has now been deleted, thanks SuperUser mods. –  James McMahon May 25 '12 at 5:19

I have use both Cygwin and various iterations of Inerix/SFU/SUA as well as CMD + unxutils and putty, etc. It always feels like fighting the system.

I have really been won over by powershell (despite the name). I now just use powershell with some unixy aliases, a handful of scripts to emulate unixy behaviors and a few native windows ports like vim, infozip, ncftp, curl, wget, etc.

It kind of depends on what you are trying to do. If you want windows to actually be unix then nothing will feel quite right and it will be various flavors of frustrating. If you want to port software then there are lots of options with various pros and cons. If what you want is a powerful text-mode shell and scriping environment where you have a hope of replicating your automations onto servers or your buddies machines then take a hard look at powershell.

share|improve this answer

An excellent option is UWIN from David Korn at AT&T. It is free and it is regularly updated.

share|improve this answer

MSYS - http://www.mingw.org/wiki/msys

Quite usable, and as long as you have the "bin" directory of MSYS in %PATH%, you can use many of the unix commands from within cmd.exe.

You can even quickly switch to bash from within cmd.exe when you need to.

share|improve this answer
    
Cygwin allows you to use UNIX commands from within cmd.exe when you have the "bin" directory in PATH –  jweede Sep 11 '09 at 14:09
    
Thanks jweede. I'll update the answer. –  Shawn Chin Sep 11 '09 at 14:26
    
MSYS works really well for porting Unix software into Windows. Many times a ./configure and a make is all you need to build it Windows. You also won't need that crazy Cygwin .dll to distribute with the .exe's you build. I highly recommend MSYS. –  User1 Oct 27 '09 at 20:41

A few people have suggested UnixUtils, but it doesn't seem to have been updated in several years.

GnuWin32 seems to be under more active development. Its auto-updater, GetGnuWin32, is relatively clunky, but you should be able to deal with it if you're comfortable enough with the CLI to want Linux command-line tools in the first place.

share|improve this answer

Actually, if you install the windows version of git it comes with BASH, grep, and a bunch of other basic unix utils. It has to since git is built on those command-line tools. Easiest way to get a basic bash shell that I know of.

share|improve this answer
2  
Actually, it comes with a subset of MSYS from MinGW. –  grawity Sep 11 '09 at 15:12

UnixUtils

share|improve this answer

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