/
๐Ÿ”

Counting files in directory

ShellLinux

Count all files in current directory.

$ ls -l | wc -l

Count all files, including sub-directories.

$ find . -type f | wc -l
Code Snippets & Notes by Makzan