Valid 200-901 Dumps shared by EduDump.com for Helping Passing 200-901 Exam! EduDump.com now offer the newest 200-901 exam dumps, the EduDump.com 200-901 exam questions have been updated and answers have been corrected get the newest EduDump.com 200-901 dumps with Test Engine here:
The project is migrated to a new codebase, the "old_project" directory must be deleted. The directory has multiple read-only files, and it must be deleted recursively without prompting for confirmation. Which bash command must be used?
Correct Answer: A
To delete a directory and all of its contents (including read-only files) recursively without prompting for confirmation, the rm command with the -rf flags should be used. rm -r: This option tells rm to remove directories and their contents recursively. rm -f: This option tells rm to force the removal of files, ignoring nonexistent files and never prompting for confirmation. Therefore, the correct command is rm -rf old_project. This command will recursively remove the old_project directory and all its contents without any confirmation prompts, regardless of file permissions. Reference: