Here’s a great Mac OS X terminal trick to change your mouse tracking speeds via terminal.If the available settings in the mouse preference panel aren’t good enough for you, You can adjust the rate via terminal using the following command:
defaults write -g com.apple.mouse.scaling *.*
Replace the *’s with a number between 1 and 5 ie:
defaults write -g com.apple.mouse.scaling 5.0
for fast tracking or
defaults write -g com.apple.mouse.scaling 1.0
for slow tracking