In this video, I have covered how to find all .txt files in a folder.
Commands used:
Syntax
$ find -regex ".*\[fileextension]"
Example:
find Desktop/ -regex ".*\.txt"
For searching in home directory
find -regex ".*\.txt"
Subscribe to our channel for more tech stuff.