Delete a folder although its not empty

Leslie Jensen leslie at eskk.nu
Tue Apr 8 09:40:57 UTC 2008


Ruel Luchavez skrev:
> Hello...
> 
> I'm tired of deleting a directory or folder in a server using "rm" and
> "rmdir" but before deleting a directory using "rmdir" the folder must be
> empty..what should i do or what command should be use in Free BSD to delete
> a folder in a directory even if its not empty without affecting the
> folder in the same directory?
> 
> Please.....thanx

rm -r


More information about the freebsd-questions mailing list