Posts tagged as:

rm -rf *

5 Practical Examples To Delete / Remove Directory in Linux

by Ramesh Natarajan on June 26, 2009

Question: How can I delete empty directory, directory with files and sub directories in Linux / Unix ? Also, how can I use an alias effectively for rm and rmdir command?
 
Answer: You can delete empty directory using rmdir command, or directory with content using rm command. Deletion can be done interactively, recursively, forcefully, or through alias. In this article, let us review 5 practical examples that shows how to delete the directories in Linux like systems.
(more…)

{ 14 comments }