Hi
I have a directory which contains different files (.txt, .rpm, etc). Now I want to count every .txt file in the directory for each .txt file I want to run a loop onetime.
For example: I have 3 txt files -> I get 3 test
test
test
out at the screen.
The files where stored in "/usr/local/var".
Thank you for your help,
Christian