Kill the Dock

Have you ever had the Dock in OS X to freeze up? Did you know you can restart it by using a simple terminal command?
Just go to the terminal app and type in killall -KILL Dock at the prompt. The dock will disappear and reappear in a couple of seconds.