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
Write a command that will display files in the current directory, in a colored, long format.
What do know about tee command and its usage?
How to use grep command to list find the records of a file containing 10 different strings?
How do I delete files from command prompt?
What does this command do,"$more readme.txt“?
Which command can you use to find the currently running process in unix server?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What is $0 bash?
What does the command '$ls | wc –l > file1' do?
What are awk commands?
Differentiate cat command from more command.
What is the use of the command 'ls -x chapter[1-5]' ?
How do you grep recursively?
Can you enlist some commonly used network commands?
What is .sh file?