---

How do I force delete a directory in Linux?

I am trying to delete a directory in Linux using the rmdir dir1 command. But, I am getting an error that read as follows: rmdir: failed to remove `dir1′: Directory not empty How do I force remove and delete a directory in Linux?