It depends on the scenario, if the interviewer appears quite stern then it's recommended to avoid it, otherwise. yes do shake their hands.