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 directoryname
rm -r filename
rm -rf filename
this command remove the directory and subdirectory forecefully
rm -rf /path/to/directory/*
# REMOVE ALL FILES IN LINUX ON CURRENT PATH
find . -type f -delete
# REMOVE DIRECTORY IN LINUX ON CURRENT PATH
find . -type d -delete
# REMOVE EVERTHING IN EXISTING PATH
find . -delete