Sunday, July 28, 2013

Use Linux Commands in Windows

Do you love Linux shell commands & miss them while using windows?
Now you can use Linux shell commands like touch, cat, grep etc from your windows command prompt. Just install  GNU core utilities  in your windows machine and your command prompt becomes magical.
Follow these simple steps:
  1. Download the core utilities from here
  2. Clicking on this link downloads a tar.xz file. Use 7zip to extract it.
  3. Edit the path environment variable and add the path of the bin folder. For example if your bin folder is in C:\Program Files\GnuWin32\ then add C:\Program Files\GnuWin32\bin in the ‘path’ environment variable.  This post shows how to set environment variable in windows 


  1. Alternatively, you can try Cygwin.exe.

  2. Yes, Cygwin has a coreutils package. Visitors can give it a try.

    Thanks Nilanjan Basu. :)