How to find files by name
$ find . -name "[pattern]"
- Command
- find
- Description
- Search for files or directories matching a name pattern recursively. Usage: find . -name '*.txt'
- Deep Dive
- Always quote the pattern when using wildcards to prevent shell expansion. Use `-iname` for case-insensitive search.