I need to delete all the content of a folder in Centos, but no the folder, for example I have a folder named MYFOLDER inside I have a lot of folders like FOLD_1, FOLD_2, FOLD_3, FOLD_4... etc , and some files like file_1.txt, file_2.log, etc, now that I need is delete all these folders and files, but no the container folder, this is the MYFOLDER folder, cause I need this directory to direct the results of a previous process.
I tried with the rm -rf command, but this delete the container folder too.