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

Answer Posted / manikandan

\rm -rf directoryName
This is used for remove dirctory with confirmation

Is This Answer Correct ?    21 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do chmod command do?

600


What is the unix command to confirm a remote host is alive or not?

574


What is the use of cut command in unix?

683


why metadb requires a seperate slice to create Solaris volume manager

2546


What is “chmod” command?

560






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

655


What is the size of time_t?

637


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

630


What is the use of the command 'ls -x chapter[1-5]' ?

658


What does the command ' $who | sort –logfile > newfile' do?

761


Is grep faster than awk?

555


What does the “echo” command do?

620


What does grep v grep do?

546


Why is grep called grep?

771


Which command is used to find whether the system is 32 bit or 64 bit?

625