Thursday, April 6, 2017

linux - How can I remove a directory with rm - rf?



I try to remove a folder with



rm -rf foldername



… but it says




rm: cannot remove folder :is a directory.




What's wrong?


Answer



Omit the space between - and rf.


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...