Which command is suitable in deleting directory that contains files in it?2.0 Marks#rm –r directory#rm directory#remove directory#delete directory
Question
Which command is suitable in deleting directory that contains files in it?2.0 Marks#rm –r directory#rm directory#remove directory#delete directory
Solution 1
The suitable command for deleting a directory that contains files in it is rm -r directory. This command removes the directory and its contents recursively.
Solution 2
The suitable command for deleting a directory that contains files in it is rm -r directory. This command removes the directory and its contents recursively.
Similar Questions
What command is used to remove a directory?
What command is used to remove files?deletermerasedm
Identify the command which is used to remove a directory0.5 Marksrm -frmdeleterm -R
What command is used to remove the directory in Linux?(1 Point)rdrdirrmdirremove
Which of the following commands can be used to delete a file on a Linux system?Question 17Answera.rm file.txtb.delete file.txtc.del file.txtd.erase file.txt
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.