I have logs files, access.log-*, and I need exclude the 'TCP-DENY' (or include only the 'TCP-MISS').
How I parsing, like grep command on linux, access.log file on windows?
On linux it is work fine. I need doing it on windows script (bash).
Thanks
I have logs files, access.log-*, and I need exclude the 'TCP-DENY' (or include only the 'TCP-MISS').
How I parsing, like grep command on linux, access.log file on windows?
On linux it is work fine. I need doing it on windows script (bash).
Thanks
I agree with Zoredache, PowerShell is the way to go. However I think the command you want is
findstr <string>
Please note findstr is case sensitive.