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
Written by Zhang Tai
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#