How to delete directory that is not empty - rm command

by Nirmala 2010-01-28 16:10:31

Delete directory that is not empty
Use the below command to delete directory.
rm -rf directoryname

The above command will remove all its subdirectories and files in a single line.

Tagged in:

889
like
0
dislike
0
mail
flag

You must LOGIN to add comments