close
Find Files Containing Certain String Within a Folder:
# pwd
/root/testdir
echo "hello,123">> file1
echo "123">>file2
echo "test111 hello" >>file3
# find ./ -type f -print0 | xargs -0 grep -i "hello"
./file1:hello,123
./file3:test111 hello
全站熱搜