- Forums
- Linux Systems
- Linux Error: Rm: Cannot Remove DIRECTORY Is A Directory
this page will show you what you need to do when you get an error on your linux computer that says Rm: Cannot Remove DIRECTORY Is A Directory when you are trying to delete a folder or directory command. [2943], Last Updated: Sat May 18, 2024
wallpaperama
Sat Jun 30, 2007
3 Comments
5388 Visits
ok, if you are getting this error, just force it with this command.
lets say for example, i am trying to detele a directory called
install and in this directory, i have some file, so to remove the whole thing just run this command:
rm -rf install
thats it, hope this helps you. i appreciate all your comments
<code>
rm -rf ./
</code>