How to delete a directory containing files and folders?
Answer Posted / subbareddy kake
rm <file name>: For deleting the file
rm -i:It will ask conformation
rmdir:For removing the directory
rm -r:It remove recursively all files and directory itself
rm -rf: for deleting the all files and subdirectories in
current directory
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What does sed command do in unix?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What's a command word?
Which command is used to restrict incoming messages?
Which unix command to make a new directory?
What is sed awk grep?
What are the unix commands?
What is the difference between cat command and more command?
Why is awk called awk?
What is $0 bash?
Explain command to show the space allocation of files?
Write a command to kill the last background job?
What are filter commands in unix?
What is the unix command to confirm a remote host is alive or not?
Enlist some filename manipulation commands in unix.