HOW TO : grep for response codes in apache logs
If you want to grep for certain http response codes in a apache log file Look for all access requests with a 200 response code[code] grep...
If you want to grep for certain http response codes in a apache log file Look for all access requests with a 200 response code[code] grep...
Simple one liner to check if your web server is using strong ciphers [code] openssl s_client -cipher LOW -host SERVER_NAME -port 443 [/code]
Simple script in python to look for credit card numbers in a file. [code] #Importing modules import re import os # Define variables inputFile = ‘test.txt’...
If you are every looking to match strings as a whole word instead of literal strings using a regular express, Word Boundaries are your friend For...
Use the following option to check out how network (NFS) shares are performing on your sever [code]iostat -n 2[/code] The -n option tells iostat to just...
Want your terminal to look like this? In addition to the coolness, factor it also helps you do (monitor) multiple things at a time. In this...