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 functions of zambie process?

3 Answers  


Through which command will redirect output to bOth screen and files at the same time?

3 Answers  


Who wrote grep?

0 Answers  


What is the protocol for PING command?

1 Answers   IBM,


A file has 1000 lines and i want to display only 1st line how to do it? pls ..tel me

7 Answers   CTS,






what is virtual machine?

2 Answers   Infosys,


Can a process kill itself in UNIX/or in its various versions?

2 Answers  


distinguish between paging and swapping?

3 Answers   Infosys,


Which command is used to find whether the system is 32 bit or 64 bit?

0 Answers  


What is the difference between udp and tcp?

2 Answers   HCL, TCS,


How to know a process is a zombie or orphan process?

3 Answers   Perot Systems,


How can i know my Filesystem and its current usage in my prod UNIX system?

4 Answers   HCL, IBM,


Categories