Relying on the shells history logging is not great. Try logging out with kill -KILL $$ No logging You might want to look at BSD Process accounting. -- David Stanaway <david at stanaway.net>