A 5.7 magnitude earthquake shook a small northern Nevada town Monday afternoon.