How to delete a directory containing files and folders?
Answers were Sorted based on User's Feedback
Answer / subbareddy kake
rm <file name>: For deleting the file
rm -i:It will ask conformation
rmdir:For removing the directory
rm -r:It remove recursively all files and directory itself
rm -rf: for deleting the all files and subdirectories in
current directory
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / 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 |
How to display no of records in oracle using unix command?
what is the shell for dos,nt operating systems?
How can you see the command line history?
Using unix command how to display no of records in oracle?
What do know about tee command?
What is $0 bash?
What is the syntax of grep command and what is its use?
what is the functionality of kernel in unix architecture?
What does awk stand for?
Differentiate cat command from more command.
What Command is used to make a directory?
how to check a file system type