Rm: Cannot Remove Directory

RegisterLogin
Rm: Cannot Remove Directory
Post Description: This Error Rm: Cannot Remove Directory Show When I Try To Remove Files I Dont Need Anymore
Tags: Rm:, Cannot, Remove, Directory
This Post Was Posted On Jan 30, 2010 By Lonlyone #3087
hi, i need some help

im a newby in linux i send this command to delete a script in my files:

rm /var/www/mywebs/web1/OSWallpaper_beta-1-5


im trying to delete the OSWallpaper_beta-1-5 but it gives me error message

rm: cannot remove directory /var/www/mywebs/web1/OSWallpaper_beta-1-5

what can i do to solve this?
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
webune
#3370 1
you should put the -rf option

rm -rf /var/www/mywebs/web1/OSWallpaper_beta-1-5


r = --recursive (remove directories and their contents recursively)

-f, --force (ignore nonexistent files, never prompt. so it wont ask you to delete each file one by one)

hope that helps

Jan 30, 2010 Reply Report abuse
©2012 Webune Forums - Sat Dec 15, 2012 12:51 pm
Powered by: Webune Forums V3