문제

I am using a windows 7 machine and a)

Wondering why the commands of CMD are even different?

And b)

If it is possible to change the commands so that it behaves like linux
도움이 되었습니까?

해결책

The simple answer is that it's a different operating system! You can't change the CMD commands, but you can setup a unix/linux type shell environment in windows.

Your two main choices are:

I've used both and prefer msys, but both work just fine.

These will install programs and libraries to support them that you should be familiar with (bash, gawk, sed, grep, etc).

You'll also want to look at a decent terminal emulator:

  • Console
  • ConEmu

I prefer ConEmu, but again both work just fine and I'm sure there are other options out there too. You don't need an emulator, but it's nicer than the normal command window

다른 팁

Install msys and you can mostly use unix commands.

It's not possible but you can install an environment like Cygwin:

http://www.cygwin.com/

Or install tools like Unxutils:

http://unxutils.sourceforge.net/

Even install a virtual system with VirtualBox:

https://www.virtualbox.org/‎
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top