SoFunction
Updated on 2025-03-10

Find the shell script for the file containing the specified field in the file


#!/bin/bash
find / -name "*.php" >
f=`cat ./`
for n in $f
do
r=`egrep 'abc' $n`
if [ ! "$r" = "" ] ; then
echo $n
fi
done