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

in a growing log file how will you see the 1st 99 lines?

7 Answers  


What is grep in bash?

0 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  


What is updatedb?

0 Answers  


Why is awk called awk?

0 Answers  






What is the use of egrep command in unix?

0 Answers  


what is kernel?

6 Answers  


what are the different commands used to view the contents of a file?

5 Answers  


How to redirect standard error to a file?

2 Answers  


What Command is used to make a directory?

4 Answers   IBM,


Differentiate cat command from more command.

0 Answers  


how to check a file system type

7 Answers   Wipro,


Categories