Shell scripts in windows

Posted on

QUESTION :

I’ve been using the terminal in Ubuntu and Debian for a while and use shell scripts, commands like find, grep etc.. and the vim editor.

What is the best way to use such commands/software under windows? ( with auto-completion, history in the terminal )? Is using cygwin the best option?

ANSWER :

Windows has:

  • .bat files
  • .vbs files
  • Windows PowerShell

and you can install Cygwin. I’d recommend learning PowerShell as this is a ‘native’ Windows shell that provides very sophisticated set of commands.

Leave a Reply

Your email address will not be published.