Bash Check If Directory Is Empty, the obviously simple way is to read the list of names in the directory, skipping .