what do you do for something?

what do you do for something?

used to ask how somebody manages to obtain the thing mentioned: It’s very quiet, isn’t it? What do you do for entertainment out here?
See also: what