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

What are different command to check ram, process and hdd of linux machine?

1 Answers  


What does umask 022 mean?

1 Answers  


What is ulimit command?

1 Answers  


How to shuffle the GRUB booting from one Disk to other?

1 Answers  


What is #!/ Bin sh?

1 Answers  


What do you mean by directory?

1 Answers  


How do I clear bash history in linux?

1 Answers  


Brief about FTP hostname?

1 Answers  


What is df command in unix?

1 Answers  


how do u extract files from iso cd images in linux?

5 Answers   Wipro,


What does grep grep do?

1 Answers  


What are linux commands useful?

1 Answers  


Categories