Linux commands : “find” and the option “empty”

The command find is quite used to Linux.
One of these uses is for finding files and folders that are empty.
Finding empty files:

Finding empty directories:

Counting them is by using pipes, as in the examples below:

We can do the same for those which are not empty.

These are just some simple examples. Can you write more about this using contact page.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.