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
Why is it called grep?
What are awk commands?
What is a command and examples?
What does #!/ Bin sh do?
What is the command to find maximum memory taking process on the server?
how to sort the content of the file based on numeric values
What is the use of cut command in unix?
What is grep short for?
What is the difference between awk and grep?
What does grep v grep do?
Which unix command lists files/folders in alphabetical order?
What does the command ' $who | sort –logfile > newfile' do?
What is the search command in unix?
What is awk command used for?
What is the unix command to confirm a remote host is alive or not?