How to delete a directory containing files and folders?
Answer Posted / padmanaban
"find -type d -iname 'directoryname' | xargs rm -rf" this is
also a way to remove the folder and files.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is a bash command?
Which command is used to copy files?
What are some command words?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
How do I search for text in vi?
What is ‘ps’ command for?
What is difference between grep and find command in unix?
What is grep and how do you use it?
Write a command to kill the last background job?
Differentiate cat command from more command.
What is in grep command?
What is the behavioural difference between cmp and diff commands?
How to use grep command to list find the records of a file containing 10 different strings?
How do you grep recursively?
What are bash commands?