Do you often find yourself missing common Unix utilities such as grep, awk, sed or touch when working under windows? Do you keep typing ls when you really meant dir? If you do, you are in the same boat as me.
There are many solutions for getting Unix like functionality under windows. The most popular and robust one is installing Cygwin which is a self contained, fully compliant POSIX environment that can be run on top of windows. If you are planning to do anything interesting you should definitely get it. But it might be overkill just for the basic functionality.
If you just wand to call few crucial missing from the default cmd shell, you need the Berkeley Utilities Package.
The linked page offers you a zip containing the 40 most commonly used Unix tools such ported to DOS. Yes, you didn’t misread that. These are all DOS ports – which means that running them is a little bit like running the good old blue EDIT text editor. Your cmd console might blink, and resize for a second, and then go back to normal, and your prompt will reset to use the DOS 8 character filenames in your path.
But I think this is a smart price to pay for the power you gain by having tools such as grep, sed, awk, paste and etc at your fingertips. All these utilities work natively without the need to install some sort of runtime environment such as Cygwin. Just drop them somewhere in your Path and you are done.
[tags]windows, unix tools, unix utilities, berkeley utils, berkeley untilities, tools, grep, sed, awk[/tags]