try rm -rf foldername or directoryname
it will works.
but be very carefully with command rm
for example rm -rf * will remove all files and directories on your computer(of course if you run it as root)
I hope this help
PS: be very carefully when you use rm command because if you use it on wrong way you will