. "You can also use GNU find command to find out if directory is empty or not i.e. check for any *.c files in a directory called ~/project/editor:find ~/project/editor -maxdepth 0 -empty -exec echo {} directory is empty. \\;Where,-maxdepth 0: Do not scan for sub directories.-empty : File is empty and is either a regular file or a directory.-exec echo {} directory is empty. \\; : Display messa" . . .