HOW TO : Use grep to search for content at end of line
If you want to search for a pattern at the end of a line, you can use tail -f logfile | grep -v “0$” breaking down...
If you want to search for a pattern at the end of a line, you can use tail -f logfile | grep -v “0$” breaking down...
varnishlog, one of the tools provided with varnish cache, uses VSL Query Expressions (https://www.varnish-cache.org/docs/trunk/reference/vsl-query.html) to provide some powerful insights into the requests and responses. Here is...
We were trying to modify some ACL (access control lists) in squid to allow traffic to certain websites. Instead of adding each individual hostnames in a...
Let’s say you are running a command as sudo and need to pass the output to a different command using pipe, you would run sudo command1...
If you don’t have tcpdump installed on your solaris server, you can use the “snoop” system command to capture network traffic. Here is the command line...
quick note for self hdparm -tT /dev/sdx sdx : actual device you want to test