exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 169 discussion

Actual exam question from Cisco's 200-901
Question #: 169
Topic #: 1
[All 200-901 Questions]

After a project is migrated to a new codebase, the `old_project` directory must be deleted. This directory has multiple read-only flies, and it must be deleted recursively without prompting for confirmation. Which Bash command must be used?

  • A. rmdir -p old_project
  • B. rm -rf old_project
  • C. rm -r old_project
  • D. rmdir old_project
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
DenskyDen
Highly Voted 1 year, 12 months ago
B. is the correct answer. To remove non-empty directories and all the files without being prompted, use rm with the -r (recursive) and -f https://linuxize.com/post/how-to-remove-files-and-directories-using-linux-command-line/
upvoted 8 times
...
macxsz
Most Recent 10 months, 1 week ago
Selected Answer: B
rm -rf to Remove forcefully
upvoted 1 times
...
Toxkalcan
10 months, 3 weeks ago
Selected Answer: B
somehow C does the work as well
upvoted 1 times
...
Ram0n_Aya1a
1 year, 6 months ago
very easy , B is correct
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago