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 |
Which command is used to kill the last background job?
What is the unix command to confirm a remote host is alive or not?
What does this command do,"$more readme.txt“?
What is the comma to show the space allocation of files?
what does the 'tee' command do?
How to setup Disk space as well as memory in solaris10?
Name the general commands in using unix os for a beginner?
Which command will print your home directory on screen?
What is the Unix file system hierarchy?
What are file permissions in Unix, and how are they represented?
what is the use of "grep" command?
what is tar command and what are the different types of tar commands?