Question: Within the / var directory is a subdirectory named backup. Ken, a Linux administrator, needs to delete the directory backup and any files that it

Within the /var directory is a subdirectorynamed backup. Ken, a Linux administrator,needs to delete the directory backup and any files that it contains.He changes directory focus to /var.
Which of the followingcommands deletes the directory named backup and any file it contains?
Question 39 options:
rm backup
rm -r backup
rm -r backup/*
rm backup/*

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!