Which two commands can you use to delete directories?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about sh?

582


What command should you use to check your file system?

525


How do you create a text file in linux?

528


How do I remove a soft link in linux?

511


How do I list all processes in linux?

512






Explain about gzip filename?

565


How can I type in cmd?

506


Explain difference between nfs soft and hard mouniting points?

506


State and explain about features of UNIX?

568


What are the commands in linux?

525


What does chmod 666 do?

529


What is df -i command?

548


How do I check my system performance?

565


Explain getopts command of linux?

587


What is ls command and what it does?

550