[mythtv-users] Upgrade?

Ian Campbell ijc at hellion.org.uk
Tue Dec 12 18:07:20 UTC 2017


On Tue, 2017-12-12 at 12:18 -0500, Andrew Codrington wrote:
> As this is a teachable moment, can anyone share a command line to
> search the filesystem (or a recursive folder search) for files
> containing a specific text string like "table_cache"?

To search for a string in files you want grep(1), for a recursive
search you want the "-r" flag, so e.g.

	grep -r table_cache /etc

Would search all of /etc for "table_cache".

Some distros have rgrep as an alias for "grep -r", in which case:

	rgrep table_cache /etc

works too.

Ian.


More information about the mythtv-users mailing list