Skip to main content

How to count the number of files in a directory - Linux Shell Command

To count number of files in a directory in linux shell command line just;


ls -lR <directory path> | wc -l

Comments

Popular posts from this blog