1. To recursively delete use $ rm -r dirname 2.To forcefully delete use $ rm -rf dirname
rm -rf myDirectory
rm -rf dir-name