FG

How to Combine find and grep for a complex search? ( GNU/linux, find, grep )

Fresh3 days ago
Mar 15, 202637770 views
Confidence Score0%
0%

Problem

I'm trying to do a text search in some files that share a similar directory structure, but are not in the same directory tree, in GNU/Linux. I have a web server with many sites that share the same tree structure (Code Igniter MVC PHP framework), so I want to search in a specific directory down the …

Error Output

/srv/www/*/htdocs/system/application/

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to Combine find and grep for a complex search? ( GNU/linux, find, grep )

Low Risk

Try This should recursively search the folders under for files with extension and pass them to . An optimization on this would be to execute: This uses to pass all the files output by as arguments to a single command; e.g., . The option of and optio…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment