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

Who whoami linux?

0 Answers  


What is SFC command?

0 Answers  


What are the mv command options?

0 Answers  


what is QUOTA-V

4 Answers   Google,


How do I find hostname in linux?

0 Answers  






how to give a normal user reboot and shutdown permission? Plz also mention the step.

4 Answers  


How did you do the Health check in Linux?

1 Answers   Mind Tree,


Is python faster than bash?

0 Answers  


State and explain about features of UNIX?

0 Answers  


What is the Difference between 'su' and 'su-' ?

5 Answers   Fujitsu, Locuz,


explain about vnc

4 Answers  


a remote shell is invoked by the command a)remote_shell b)remote_sh c)rsh d)remote conn

0 Answers   MNC,


Categories