for f in *.txt; do done
while
We can also use the find command to locate all files that match a specified pattern starting from the current directory:
find
find . -name *.txt
Last updated 5 years ago