the directory is not empty. rmdir code example Example: terminal delete directory not empty rm -rf myDirectory