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

How do you move a process which is running background to foreground?

9 Answers  


How do you know about running processes of a particular user?

11 Answers  


who to change the duplex setting of network interface in command line

1 Answers  


What Command will remove a Directory in UNIX?

8 Answers   IBM,


How do you create a file in UNIX

36 Answers   Accenture, EMG, Nokia, QA, TD,






What is the use of find command in unix?

0 Answers  


their is a file1,file2 and i want to append file1 data to file2?

9 Answers   IBM,


How to see unused port number in Solaris?

2 Answers   HCL,


How to find $ai_serual resolved path by using unix

0 Answers  


By using which command we can find the CPU utilization time?

7 Answers   Amazon,


What is the command to find maximum memory taking process on the server?

0 Answers  


How do I clear my terminal history?

0 Answers  


Categories