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

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  


describe the escaping sequence characteres in unix

1 Answers  


How will you know who are the users logged in to the system before 15 minutes?

4 Answers   Amazon,


Differentiate cat command from more command.

0 Answers  


what does the command 'wc' do?

4 Answers  






what are the different hardwares available?

1 Answers  


use of ls command

9 Answers  


What is unix command?

0 Answers  


Explain ‘system calls’ with respect to unix commands?

0 Answers  


Who wrote grep?

0 Answers  


What is the first character of the output in ls l command?

0 Answers  


What does #!/ Bin sh do?

0 Answers  


Categories