HOW TO : Search for multiple words in a string using grep
Just for my records grep “WORD\|ANOTHER\|NEITHER” string searches for either “WORD” or “ANOTHER” or “NEITHER” in string.
Just for my records grep “WORD\|ANOTHER\|NEITHER” string searches for either “WORD” or “ANOTHER” or “NEITHER” in string.
If you are using a Linux system that uses yum for package management (like Fedora, Centos, RHEL), you can use the following command to find out...
Say you are using netstat to checl all established network connections on a windows machine (confirmed to work on windows 7+ and windows server 2008+) and...
Literally copying this post/note from a blog post by Nate Good http://nategood.com/quickly-add-and-edit-cookies-in-chrome If you want to inset a cookie into a website request in Google Chrome,...
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...