grep "palavra" arquivo.txt
find /caminho -name "arquivo.txt"
grep -i "palavra" arquivo.txt
find /caminho -type f -name "*.txt"
grep -c "palavra" arquivo.txt
find /caminho -type f -mtime -7
grep "palavra" *.txt
find /caminho -name "*.log" -exec rm {} \;
grep -n "palavra" arquivo.txt
find /caminho -type f -size +100M
grep -r "palavra" /caminho
find /caminho -type f -name "*.txt" -or -name "*.log"
grep -E "palavra1|palavra2" arquivo.txt
find /caminho -type f -name "*.log" -size +50M -exec gzip {} \;
grep -v "palavra" arquivo.txt
find /caminho -type f -empty -delete
find /caminho -name "*.log" -exec grep "erro" {} \;
find /caminho -type f -newermt "2023-01-01"
grep -C 3 "palavra" arquivo.txt
find /caminho -name "*.txt" -exec sed -i 's/palavra_antiga/palavra_nova/g' {} \;