On 3/26/21 10:55 AM, Robert G. (Doc) Savage via users wrote:
> Is there a cat | grep command (or equiv) that can recursively look for
> "QT" in all files in my home directory -- including hidden files? It
> would have to be able to output the full path to any files in which "QT"
> is found. Unfortunately cat does not support recursive searches.
> 

grep can do recursive search with the "-r" option. Something like this
may do what you want:

grep "QT" -r <some directory>

Just keep in mind that this might be extremely slow if you have a lot of
stuff at your home directory. Try narrowing your search a little, e.g.
maybe just search in ".local" and ".config"?

Hope this helps
Aristos
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to