Linux удалить папку и все его контент
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