Linux Terminal Utiity - ripgrep Alternative to grep

in #linux4 years ago

Here I am covering the ripgrep, an alternative to the grep command utility that you find in Linux.


There are times when you want to search for particular word or number or even occurrence of string in the file. And mostly when dealing with the file of large size, you may end up with a lot of limitations. Like finding the occurrence and then counting it etc for further working.

Take example of how the grep can be useful for you. In this example, the image shows how you can find occurance of the word phoenix in the grep.

grep.png

For this to properly work for you, there is a need to learn the regular expression. And be it ripgrep or the grep like tool. You need to understand some level of the regular expression. That can put up a perspective for you for finding particular word in a file.

This is handy when you want to find out phone numbers, personal information, card numbers etc. And this can be really useful for finding the files that have a lot of data.

What is ripgrep?


ripgrep is another alternative utility that allows you to do the same that you are doing with the grep. And probably more and efficiently. So I'd recommend you to check out this utility if you find some value in it.

You can check out the rigrep in action in the below tweet.


Do let me know if you have found this video useful.

You can check out my twitter: DevPress

I hope this is useful for you. And if not then do pass this article to someone who is into code and development.

Thank you for reading. I'd appreciate an upvote if you like the content.

Cheers,
DevPress