Bash and Linux 5 · Searching and text

Find files by name

Find files whose name matches a pattern.

find . -name "*.log"

Official Bash and Linux 5 documentation

More searching and text commands

All searching and text commands · Bash and Linux 5 cheatsheet

Was this page helpful?