Unix commands on Windows

I met a guy at my new workplace and he showed me a nice way of not losing temper when working with Command Prompt (yep, on a Windows box) and accidentally typing unix commands. Imagine if you could use the commands like ls, mv, cp, du, and even wget. Wouldn’t it be awesome?

Well, that’s possible. Here’s a bundle of utilities. Download and extract somewhere like C:\UnixUtils.

Now, open your computer properties and click on ‘Advanced’, then ‘Environment Variables’. Select ‘PATH’ and click ‘Edit’. Now, to the existing path and ‘;’ and ‘C:\UnixUtils\local\wbin’.

``````Start > Run > cmd.exe
``````

At the command prompt, type ‘ls’. It should normally work.