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

Answer Posted / keerthana

rm -r directory_name
rm -ir director_name
rm -rf directory_name

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

938


What are some command words?

815


How do I search a whole word in vim?

883


What does the “echo” command do?

835


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

801


What is the use of find command in unix?

766


What is ‘ps’ command for?

848


Name the general commands in using unix os for a beginner?

804


Does cp command overwrite files?

830


How do you grep recursively?

775


What is the use of the tee command?

808


How do I search for a file in unix command?

745


What is the difference between cat and more command?

902


Can you explain a little bit about command substitution?

819


What are file commands?

865