Count all files in directory in one level find -maxdepth 1 -type f | wc -l Count all files in directory recursively find . -type f | wc -l counter series1 - Count all code lines in certain directory from terminal or git bash2 - How to count all files in directory using terminal3 - How to count all directories in directory#terminal