Searching for text strings in files in Linux

From Useful Data
Jump to navigation Jump to search

This is something else that is far too hard in Linux.

The problem is not finding files by name (sudo updatedb then locate -i filename works well).

There is the programme catfish. It is shite. It does not work. It has never worked. I have no idea why it still exists. I have never known it work in any version of any distro I have tried. And when it does find some files (it never finds all of them) you can't do anything with those files.

I want a GUI tool for this. The command line is too damned hard for this purpose.

SearchMonkey seems to work OK. But if you want to find files that contain "cat" and also "dog", it can't do that.


Things I need to explore:


Command line:

find, grep, locate