Original: The old skin breaks near the mouth and the snake wriggles out, aided by rubbing against rough surfaces. In many cases, the cast skin peels backward over the body from head to tail in one piece, like pulling a sock off inside-out.
Simplified: The snake keeps on rubbing its skin on various rough objects until the skin peels off from its head.