delete all files and folders in a folder in ubuntu code example Example: ubuntu delete directory and all files rm -rf ./test