Can Windows use a Linux shell instead of cmd?

As well as Cygwin which @ChrisF has mentioned, you can also install a collection of tools ported from Unix that run in a normal Windows environment. Two such examples:

  • GnuWin32
  • UnxUtils

This enables you to be in a Command Prompt and use commands such as grep, ls, awk and so on. Once you've put the extracted folder in your environment path, the experience of using them is pretty seamless and blends in well:

enter image description here


Take a look at Cygwin. It's

a collection of tools which provide a Linux look and feel environment for Windows.

(taken from their home page).


Running Cygwin will install a number of familiar linux shells like bash and tcsh, and allow you to run the shells in Windows, but also run Linux applications directly from the Windows command line.

Make sure that all the /bin/ directories installed in Cygwin are in your Windows PATH variable, and you can have the hybrid Windows/Linux experience from Windows. Even ls.

Tags:

Windows

Linux