Speed up OSX Terminal with one command
When you start up Terminal, does it take over 10 seconds or so before the prompt appears?
Turns out the
Terminal.app stores logs of previous sessions and over time this grows. Even apps like MainMenu, that delete the "User Cache", do not delete these files.
These files are stored in an esoteric location, hidden from the regular user. The files have the
.asl file extension.
Here's the command.
sudo rm -f /private/var/log/asl/*.asl
Execute that in a Terminal window. Then quit and restart Terminal. No more delays or lags. Much faster Terminal. The lack of logs to seek really speeds up Terminal.
This has been tried and tested in Snow Leopard, Leopard and OSX Lion. Wonder why Macs don't come with this already!