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

Which command is used to see the online manual?

0 Answers  


When you issue the command ls -l, what signifies the first character of the resulting display file? 701 What command can you use to determine the purpose of any command?

4 Answers  


What is tty name?

0 Answers  


What is the difference between command ‘ping’ and ‘ping6’?

0 Answers  


Brief about the command nn?

0 Answers  


What the command used for list the contents of your home directory, current directory and all subdirectories?

0 Answers  


What is cpu in linux?

0 Answers  


what is the command to make a process to run in the background from foreground?

5 Answers   Patni,


What is the syntax of mkdir?

0 Answers  


How do I run bash on windows?

0 Answers  


Where can I find bash in linux?

0 Answers  


How do I list all processes in linux?

0 Answers  


Categories