find . -name '*.txt'

Category: File Operations

find . -name '*.txt'

Find files by name pattern in current directory tree

Searches the current directory tree for files whose names match the pattern *.txt. The dot (.) means 'start here'.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.