Which two commands can you use to delete directories?

Answer Posted / sandeep kumar

1. rmdir <directory Name>

2. rm -rf <directory name>

Is This Answer Correct ?    39 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What command is used to check the number of files, disk space, and each user’s defined quota?

524


How do you create a text file in linux terminal?

524


What is dos and its commands?

612


How do I find old commands in linux?

551


What is option in linux command?

550






Why echo is used in linux?

570


Explain shift command of linux?

580


Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?

560


What is the command to delete a file linux?

532


What is du command in linux?

552


Explain the working of command grouping?

545


You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?

557


Suppose I lost a root password and I need to give it, I treid to change it through single usermode even though I am not get a password, then what is the otherprocedure to give a root password?

540


How do I clear bash history in linux?

535


Can I delete .bash history?

520