Somehow, my Windows 7 started tp understand Linux commands like cp, mv, rm, ls

While it has been useful I want to know, what is it and what do I need to install for this feature?

  • 4
    I suspect that you may be using the powershell prompt rather than the cmd console. Powershell ships with W7 and has aliases baked in for many *nix commands.
    – EBGreen
    Aug 1 '12 at 13:50

One possibility is that you have installed the GnuWin32 tools, which provide ports of common Linux programs to Windows. You might have installed another program that bundles GnuWin32 and added it to your %PATH%.

Another possibility (as @EBGreen pointed out in the comments) is that you are now in the Powershell prompt, where you were previously using cmd.exe. Powershell provides aliases for common Unix programs, including cp, mv, rm, and ls; here's a list.


I'm not sure what exactly you're asking. But it looks like you want a way to use Linux commands with Windows?

FYI: The ability to use different commands are part of your operating system's (OS) command interpreter.

Typically, Linux (and other xNIX's) use the "C-Shell." But that's not what Microsoft uses since they use their own command interpreter - command.com. But I do believe you can change it! However, you may want to just get Microsoft's latest "Power Shell" upgrade/update since I think that will have all the commands you seem to be looking for. Here's an article that may help:


Here's Microsoft's article on their Command shell overview:


I hope that clears it up a little. Sorry if that's not what you were asking.

  • No. Linux usually uses Bash, and Windows uses cmd.exe (command.com is obsolete) Aug 1 '12 at 14:10
  • The OP already has Powershell.
    – EBGreen
    Aug 1 '12 at 14:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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