Last Updated: February 25, 2016
·
504
· zhangtai

use 'find' command to count files

find | wc -l

this command can find how many files under current folder.

find ~ | wc -l

count all the files under current user