Thursday, September 17, 2015

Count file on AIX

Count Files

Verb: countFiles

Counts the number of files contained in a directory, and a mask can be used as a filter.

Example:

# cd /tmp/test/
# ls -1 *.txt | wc -l

No comments:

Post a Comment