Get the number of files in directory March 4, 2023March 16, 2022 by piroman ls | wc -l To count files recursevly (in all sub dirs): find directory.name -type f | wc -l