Put a sock in it
This command to be quiet likely originated in the early days of gramophones in the late 19th century. Early phonograph players had no volume control, so people would stuff a sock into the horn of the machine to muffle the sound. The phrase was later applied to noisy people as a blunt request for silence.