bergman on 30 Jul 2015 08:43:27 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] xargs guide |
In the message dated: Thu, 30 Jul 2015 00:28:51 -0400, The pithy ruminations from Michael Lazin on <Re: [PLUG] xargs guide> were: => I also use xargs, for example, to find a malware string in php code, like => "find . -name '*,php' | xargs grep 'malware url on google malware report' | cut -d: -f1" Ick. With a suitably modern version of grep: grep -rl --include="*,php" 'malware url on google malware report' /path/to/dirs/with/php_files Mark ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug