Thanks for your response:
Originally Posted by MS3FGX
Well, if you are going to delete /tmp every time you shut down, you might as well just mount that on tmpfs and be done with it. That will always give you a fresh /tmp without having to modify the boot scripts at all.
My only idea was to flush /tmp at every shutdown. I had some trouble loading X at times when the temp directory was too full. Emptying it completely seemed to fix this trouble although I had not considered tmpfs.
As for the backup files, if those are being created by vim (by default, vim will make those backup files in Slackware), then you can just configure vim to not make them. Unless there is another program running which is creating these files on your machine.
I feel a little insecure without those backup files so I went the middle ground with vim and added the following to my .vimrc:
set backupdir=/tmp " Group backup files in this directory
so the backup files will vanish each reboot but be available while running.