We do the same thing here, but the clean up sequence is done conditionally, i.e., we do a last -1 $USER | fgrep 'logged' and if something is there, that means you are logged in somewhere else and shouldn't rm the backup. Works well and a lot of people use the technique. b.c.mather software surgeon uiucdcs!uicsl!mather