How can I recursively count files in a Linux directory?
I found this:
find DIR_NAME -type f ¦ wc -l
But when I run this it returns
find -type f | wc -l
OR (If directory is current directory)
find . -type f | wc -l