for file in *.txt; do echo $file; done
Category: Bash Scripting
Loop over all .txt files in current directory