Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to download the basic stuff like 'rm -rf'.

I used to just download cygwin, but are binutils or some other alternative better (if all I need are the truely basic stuff ... I'm trying to think of anything I'm missing beyond 'rm -rf' and rather failling at it a.t.m)

share|improve this question

closed as off-topic by random May 12 '15 at 20:01

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." – random
If this question can be reworded to fit the rules in the help center, please edit the question.

Short note: rd /s /q is the Windows variant of rm -rf. – Joey Aug 18 '09 at 21:28
That's valuable in its on right, thanks. – ripper234 Aug 19 '09 at 11:23
gnuwin32, cygwin, mingw, windows SUA, gow – barlop Jul 16 '15 at 0:36
up vote 18 down vote accepted

I'm a big fan of GnuWin32.

You can download just the packages you need; each stands alone so you don't need to install any core Unix emulation layer like with Cygwin.

share|improve this answer
I think that GnuWin32 is the best answer for the question asked. I would also suggest looking at Powershell if you anticipate working at the command line a lot in windows. – EBGreen Aug 17 '09 at 14:09
Well, I'll go with the majority vote here, even though when I left work it was still downloading so I don't really know. – ripper234 Aug 17 '09 at 18:15
I use both. There are some good *nix commands or apps that aren't GNU. Many neither cygwin nor of course gnuwin32 has(I notice neither has "rename".. But, others like Apache.. is not GNU, so hence I suppose maybe why gnuwin32 doesn't have it. But cygwin has it. – barlop Sep 5 '10 at 22:56
These are great for doing a lot of things on a windows system without having to figure out windows equivalents - just put it all in a directory and add that directory to your path. If you are going to be administrating a Windows system, it would pay to get familiar with powershell. – MaQleod May 16 '14 at 17:53
@GuitarPicker turned out gnuwin32 does have rename - in the linux-utils-ng package, which has various non-gnu stuff. There is also a google search box (as in site:gnuwin32.sour.. + whatever you search for ) on the gnuwin32 site that shows it there if you enter rename. Also and that aside, maybe a rename command (whether in windows or linux) is superfluous as there is a move command that can be used to rename. – barlop May 13 '15 at 0:29

I much prefer GnuWin32, especially if you only want a small subset of the linux toolset. The installation process is much easier than cygwin, especially if you don't care about a BASH shell.

share|improve this answer

Stupid Idea I just had: Build a busybox binary. It should have just the bare essentials.

You could, perhaps, easily build a standalone, portable, minimalistic cygwin distro (with just the registry entries and the .dll files).

share|improve this answer

UnxUtils is another alternative to consider, though I prefer GnuWin32 myself.

share|improve this answer
unxutils the programs are old versions.. and probably all within gnuwin32 anyway..the website says last updated in 2003.And I think all the unxutils are gnu anyway.. the website says it looks like maybe it's effectively superceded by gnuwin32. I don't know if it has any advantages at all.though it does have things like wget and grep automatically.. gnuwin32 has them but you download them individually.not them all. gnu coreutils has many in one,but wget and grep and others are individuals.just reality.not a good reason 2use unxutils with its old versions. – barlop Sep 5 '10 at 22:48
Just noticed.. gnuwin32 also has non-gnu software. there's a package linux-utils-ng That has the rename command. – barlop Sep 5 '10 at 23:00

Not the answer you're looking for? Browse other questions tagged .