Como excluir um diretório não vazio no Linux
1. To recursively delete use
$ rm -r dirname
2.To forcefully delete use
$ rm -rf dirname
Tanishq Vyas
1. To recursively delete use
$ rm -r dirname
2.To forcefully delete use
$ rm -rf dirname
rm -rf directoryname
rm -rf dirname
sudo rm -R [Directory name]