Windows Grep Equivalent
I needed to find a specific IP address from the output of the netstat command. Turns out, there’s a Windows’ grep equivalent called findstr: netstat -aon | findstr /R /C:”192.168.0.1″ See superuser.com
I needed to find a specific IP address from the output of the netstat command. Turns out, there’s a Windows’ grep equivalent called findstr: netstat -aon | findstr /R /C:”192.168.0.1″ See superuser.com
Here’s a cool technique I learned from a colleague during my development at work. It basically gets a list of files from find and for each <filename>.<extension> found, searches for <search string>. You also have to option to include (exclude?) an <exclude path>. Syntax: find <start path> -name <filename>.<extension> -exec grep -li …