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 |
Which command is used to delete all files in the current directory and all its sub-directories?
How do I use nslookup?
Which command is used to find whether the system is 32 bit or 64 bit?
How to open a Database using Unix Command Please Do Reply
Is command prompt unix?
fork in unix ?
What is an Environment Variable?
what are the different hardwares available?
Who command in unix?
What UNIX command will control the default file permissions when files are created?
How to display a file name which has zero bytes in size.
Who invented grep?