unix – count number of files inside a folder

Simply run following command line:

ll *.xml | wc -l

in above example, we are counting number of files ending with .xml => feel free to adapt this query

Post a Comment

Your email is never published nor shared. You're allow to say what you want...