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

Answer Posted / julias ceasor a

rm -rf <directory_name> without confirmation
rm -r <directory_name> With confirmation for all files it
conatins.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command is used to create a directory?

575


Is grep faster than awk?

561


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

770


Why is awk called awk?

580


How do I use grep to find a file?

583






Is ‘du’ a command? If so, what is its use?

639


What is {} in find command?

584


What is the use of tee command?

572


What is the significance of the 'tee' command?

597


Explain ‘library functions’ with respect to unix commands?

604


What is the command to compare two files in unix?

624


Differentiate cat command from more command.

578


How do I run a whois command?

605


Write a command to kill the last background job?

620


Who wrote grep?

587