[mythtv-users] Upgrade?
Hika van den Hoven
hikavdh at gmail.com
Tue Dec 12 18:16:43 UTC 2017
Hoi Ian,
Tuesday, December 12, 2017, 7:07:20 PM, you wrote:
> 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.
> _______________________________________________
See attached shellscript.
It wants two parameters:
- first the string to search for
- second the path to look, which defaults to /etc
Tot mails,
Hika mailto:hikavdh at gmail.com
"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"
De lerende Mens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: findText.sh
Type: application/octet-stream
Size: 420 bytes
Desc: not available
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20171212/fb22bf68/attachment.obj>
More information about the mythtv-users
mailing list