Top "Grep" questions

grep is a command-line text-search utility originally written for Unix.

How to find function from lib .so files?

I can print list of exported function of one *.so file like nm -C lib/libopencv_ml.so and then …

linux grep shared-libraries nm
count number of tab characters in linux

I want to count the numbers of hard tab characters in my documents in unix shell. How can I do …

bash unix csh grep
What is the PowerShell equivalent to this Bash command?

I'm trying to create a CLI command to have TFS check out all files that have a particular string in …

powershell grep xargs
How to find/kill a specific python program

There are two different python programs running in this VM one is a background job who monitors a folder and …

linux bash ps grep
How can I count the number of words in a directory recursively?

I'm trying to calculate the number of words written in a project. There are a few levels of folders and …

bash vim count grep word
How To Use Backreference in Grep

I have a regular expression with a backreference. How can use it in a bash script? Such as I want …

regex unix grep text-processing
Use command grep and locate

How I can make the grep command locate certain words in the files specified by the routes found by the …

linux search command-line grep locate
What flavour of regular expression is grep?

I'm guessing it's not a Perl Compatible Regular Expression, since there's a special kind of grep which is specifically PCRE. …

regex perl grep pcre
Pandas: grep like function

Is there a grep like built-in function in Pandas to drop a row if it has some string or value? …

grep row pandas
Piping tail output though grep twice

Going with a typical Apache access log, you can run: tail -f access_log | grep "127.0.0.1" Which will only show you …

bash shell unix grep tail