^
Kôd:
root@debian:/var/www/htdocs# grep -ir 'managewp' .
./index.php: <title>ManageWP</title>
./index.php:<h1>ManageWP</h1>
glupost je to raditi sa PHP... ali ako baš moraš, može...
PHP kôd:
$needle = '';
$glob = glob('*.*');
foreach($glob as $file)
{
$data = file_get_contents($file);
if (stripos($data, $needle))
{
echo $file . PHP_EOL;
}
}