To count the number of files in a directory, I typically use

ls directory | wc -l

But is there another command that doesn’t use wc ?

1 Answer
1

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *