in UNIX,what is the command to remove directory with files?
Answers were Sorted based on User's Feedback
Answer / manikandan
\rm -rf directoryName
This is used for remove dirctory with confirmation
| Is This Answer Correct ? | 21 Yes | 12 No |
Answer / keerthana
rm -r directory_name
rm -ir director_name
rm -rf directory_name
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / julias ceasor a
rm -rf <directory_name> without confirmation
rm -r <directory_name> With confirmation for all files it
conatins.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / rejaul
at first delete the file in that directory with
rm *
then comeout of that directory and then
type rmdir (directory name)
| Is This Answer Correct ? | 2 Yes | 1 No |
How do I run a whois command?
What do chmod, chown, chgrp commands do?
What is the protocol for PING command?
Why we are using UNIX OS when we are doing the testing in our application?
The rm command removes links to file. What does this mean? How then is a file deleted from the file system?
in UNIX ,What is the command to view contents of a large error log file?
What is grep short for?
What does mkdir up2date; touch outdated up2date do?
What does sed command do in unix?
what are wild cards?
1-how will you display a file whose name is starting with '- '? 2-how will you add a patten at end of every line in vi editor?
Which command will print your home directory on screen?