Can you write a command to erase all files in the current directory including all its sub-directories?



Can you write a command to erase all files in the current directory including all its sub-directorie..

Answer / yamini

rm -rf <directoryname>

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

How do I run a bash script?

0 Answers  


Which command can you use to find the currently running process in unix server?

0 Answers  


How do I search a whole word in vim?

0 Answers  


How do you copy a directory with many files and folders into another directory?

2 Answers  


What is used to type command?

0 Answers  






distinguish between user mode and kernel mode?

6 Answers   Infosys,


Will rm -r* removes hidden files?

10 Answers  


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?

7 Answers  


How i'll delete a particular line from the file? Please give answer as soon as possible. Thanks in advance.

12 Answers   IBM,


boot process?

2 Answers   Atos Origin, Wipro,


Give two UNIX kernel parameters that effect an Oracle install

3 Answers   Oracle,


Why we are using UNIX OS when we are doing the testing in our application?

5 Answers   IBM,


Categories