To delete all contents of a dir including other dirs:
rm -rf ./*
rm = remove
-r = recursive
-f = force non-emty deletion
./* = everything in current dir
To delete all contents of a dir including other dirs:
rm -rf ./*
rm = remove
-r = recursive
-f = force non-emty deletion
./* = everything in current dir
Comments