Use the 40 Most Common Unix Utilities under Windows

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.

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

Odd DOS lieke behavior

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.

Related Posts:

  • Hard Links and Junctions in Windows
  • Why Switch? You can use both!
  • Convert JPG and PNG to EPS on Windows
  • How do you partition your drive?
  • Snurching Slashdot Futurama Quotes
  • Install Games on a Separate Partition
  • Absolut Hacker
  • Fingering with Finger!
  • How to find out the version of your OS
  • Windows Administration Commands

  • 6 Responses to “Use the 40 Most Common Unix Utilities under Windows”

    1. Gravatar Craig Betts UNITED STATES Says: Reply to this comment

      Microsoft Services for UNIX has these ass well. I have used SFU for some thanks to the mix of systems I have at work.

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Solaris Solaris
    2. Gravatar Luke UNITED STATES Says: Reply to this comment

      Oh yeah! I forgot about these. I think that SFU actually might have more tools.

      Now that I think about it… Didn’t Sun release something like that also?

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.2 on Ubuntu Linux Ubuntu Linux
    3. Gravatar Craig Betts UNITED STATES Says: Reply to this comment

      Now that I think about it… Didn’t Sun release something like that also?

      Think opposite. Sun had PC NetLink, which provided Windows NT 4.0 domain services for Solaris. It had a native net commands with all the same flags/options as the Windows version. I used to use this over Samba until AD came out. I keep hoping Sun will continue with an up-to-date version, but I won’t hold my breath. Samba 4.0? Maybe . . .

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Solaris Solaris
    4. Gravatar Matt` Says: Reply to this comment

      There was a program I found the website of via stumbleupon looking like a kind of reverso-WINE, called LINA (LINA Is Not an Acronym), looks like it requires some kind of re-packaging of linux binaries into .lina files (although it says they’re just in a zip archive, so nothing too fancy, and through some technical wizardry they make it work in Windows, Mac OS or Unix

      Aside from the fact that most open source projects release for all the OSs they can port to, this could be useful for any linux-only applications

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Windows Windows XP
    5. Gravatar Matt` Says: Reply to this comment

      oops, forgot the link - http://openlina.com/index.html

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Windows Windows XP
    6. Gravatar Luke UNITED STATES Says: Reply to this comment

      Interesting project. Although Cygwin already kinda does that. It gives you a fully functional POSIX environment, so you can actually compile most linux packages on it.

      Once I actually set up full KDE on top of Cygwin. It was slow, but functional. P

      Posted using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Windows Windows XP

    Leave a Reply

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <pre lang=""> <em> <i> <strike> <strong>

    [Quote selected]