in UNIX,what is the command to remove directory with files?

Answers were Sorted based on User's Feedback



in UNIX,what is the command to remove directory with files? ..

Answer / vijay

rm -r <directoryname>

Is This Answer Correct ?    47 Yes 8 No

in UNIX,what is the command to remove directory with files? ..

Answer / saheed

rm -rf directoryName with out confirmation

Is This Answer Correct ?    31 Yes 2 No

in UNIX,what is the command to remove directory with files? ..

Answer / aaaaaa

rm -rf directoryName

Is This Answer Correct ?    15 Yes 0 No

in UNIX,what is the command to remove directory with files? ..

Answer / manikandan

\rm -rf directoryName
This is used for remove dirctory with confirmation

Is This Answer Correct ?    21 Yes 12 No

in UNIX,what is the command to remove directory with files? ..

Answer / rajasekar

rm -rf <directory name with path>

Is This Answer Correct ?    6 Yes 1 No

in UNIX,what is the command to remove directory with files? ..

Answer / keerthana

rm -r directory_name
rm -ir director_name
rm -rf directory_name

Is This Answer Correct ?    6 Yes 3 No

in UNIX,what is the command to remove directory with files? ..

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

in UNIX,what is the command to remove directory with files? ..

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

in UNIX,what is the command to remove directory with files? ..

Answer / yuvaevergreen

rm -r to remove

Is This Answer Correct ?    0 Yes 0 No

in UNIX,what is the command to remove directory with files? ..

Answer / kiran

rm -rf directory name

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More Unix Commands Interview Questions

what is the default permission for /etc/shadow file in UNIX

2 Answers   Wipro,


What is FIND, GREP and SED ? Could you please give me the difference between all the three? Where we use this commnands?

6 Answers   Deloitte, Polaris,


Write a command that will output the sorted contents of a file named in.txt and place the output in another file named out.txt, while at the same time excluding duplicate entries.

1 Answers  


What do chmod, chown, chgrp commands do?

0 Answers  


What do chmod command do?

0 Answers  






Give the command for finding the current date.

0 Answers  


What does mkdir up2date; touch outdated up2date do?

2 Answers  


What is ctrl d?

0 Answers  


what is the meaning of this command rm -rf / what will it do ?

5 Answers   Altair,


How to display no of records in oracle using unix command?

0 Answers  


How to add content of one file into another file at the beginning

12 Answers  


In UNIX, what is the command to kill a process?

10 Answers  


Categories