To delete a directory together with all of its files and subdirectories without confirmation prompts, run ___ with the…