Using findstr to simplify output

This might be an oldie to some of you but I still like it so here we go.

It is rather annoying when you receive a large output from a CLI based tool
and you need to go through it manually in an attempt to find what you are looking
for (consider an output from netstat).

image

By using findstr you can filter the display to provide you with the line on which the information
you are looking for is displayed. This is achieved by piping the output to findstr:

image

 

This is one example of what this tool is able to do. Keep in mind that this is a very specific (and simple)
example. findstr has many abilities and it can manipulate the output in different ways. For additional
information use ‘findstr /?’.

Leave a Reply

Your email address will not be published. Required fields are marked *