learn the ropes
Of nautical origin. The phrase "he knows the ropes" written on a seaman's discharge meant that he was inexperienced and only familiar with a ship's principal ropes.