Have you recently noticed your shell prompt taking longer and longer to show up after you open Terminal.app in Mac OS X Leopard or Snow Leopard? In some cases, I’ve seen the delay to be as long as 7-10 seconds. Well, here is a quick tip to alleviate the issue.
cd /var/log/asl sudo rm -rf *
The above commands clear the Apple System Log and the problem is instantly resolved.