command to remove empty directory code example Example: delete non empty directory cmd rm -rf directoryname