Find¤ Find an action¤ find / -name "runlog-2021*.log" -printf '%h/%f\n' find . -name "runlog.2021*.trace" -type f -exec gzip -f {} \; Search text in all files in a directory¤ grep -R "text" .