Which two commands can you use to delete directories?

Answers were Sorted based on User's Feedback



Which two commands can you use to delete directories?..

Answer / sandeep kumar

1. rmdir <directory Name>

2. rm -rf <directory name>

Is This Answer Correct ?    39 Yes 0 No

Which two commands can you use to delete directories?..

Answer / amit rana

1. rmdir <directory name> : use to delete only blank
directories .

2. rm -rf <directory name> : use to delete directory & its
all contents.

Is This Answer Correct ?    28 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

How to write the output of a command to a file?

0 Answers  


In Linux how you set time a limit on quota?

1 Answers   Mind Tree,


What is top command in linux?

0 Answers  


What is clang linux?

0 Answers  


What is the difference between diff and cmp command in unix?

0 Answers  






In which File is Static IP address given so that it becomes Permanent ?

10 Answers   DCM, Wipro,


What are the basic commands in LINUX?

6 Answers  


Where can I find bash in linux?

0 Answers  


Why ms dos is used?

0 Answers  


You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose

0 Answers  


Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip the,v from the result (you can use sed command) -use the result and use a grep command to search for all occurrences of the word orange in the files.

0 Answers  


What is make in linux?

0 Answers  


Categories