IT knowledge for all of you
Verb: countFilesCounts the number of files contained in a directory, and a mask can be used as a filter.
# cd /tmp/test/ # ls -1 *.txt | wc -l
No comments:
Post a Comment