Find files by extension
Recursively lists regular files whose name ends with the given extension under a directory.
find . -type f -name '*.log'Edit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/find.md), licensed under CC BY 4.0.