in UNIX,what is the command to remove directory with files?

Answer Posted / rejaul

at first delete the file in that directory with
rm *

then comeout of that directory and then
type rmdir (directory name)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do chmod command do?

811


Who command in unix operating system?

860


Who wrote grep?

771


What is the use of cut command in unix?

951


Explain ‘library functions’ with respect to unix commands?

819


What is the use of awk command in unix?

768


What is awk command used for?

785


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

846


Which command is used to copy files?

817


Which command is used to delete all files in the current directory and all its sub-directories?

938


What is .sh file?

839


What is a bash command?

830


What is the functionality of a top command?

834


How to display no of records in oracle using unix command?

807


What do chown command do?

795