I've tried executing
sudo rm * and it does not remove everything. (I probably have lots of objects in there which I don't need.)
I'm not asking whether it is OK to remove everything in
/tmp, I'm asking how to do it. Is there a shell script that can do it?