Windows

Grep for Windows

For Unix lovers who find themselves trapped inside a Windows command line window, you may find the findstr command useful. It functions just like grep and has many of the same options. Here are a couple of examples:

C:\>netstat -an | findstr LISTEN
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING


Windows SSH Keys

Logging Into a Unix System from Windows Without a Password

Wouldn’t it be great if you could open a putty session without entering your username and password everytime.  You can do this by saving your password in putty but a better way is to setup ssh keys. Once you have the key, this can be setup for a variety of