Linux eliminar la carpeta y todo su contenido
rm -rf /path/to/directory
Gentle Gibbon
rm -rf /path/to/directory
rm -rf /path/to/directory/*
rm -rf /path/to/directory/{*,.*}
//Deletes the folder including all its content
rm -r /path/to/directory/*