Vinay Kudithipudi
  • Home
  • About
  • Lab

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.

15 Jun 2016

HOW TO : Search which package contains a filename

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...

30 May 2016 1 min read

HOW TO : count lines in windows command line

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...

30 May 2016

HOW TO : Add cookies in Google Chrome Browser without a plugin/extension

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,...

03 Feb 2016

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...

02 Feb 2016

HOW TO : Query varnishlogs for requests with 404 responses

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...

01 Feb 2016
  • Sign up
Vinay Kudithipudi © 2026. Powered by Ghost