If they are treating you poorly for not knowing how to perform a particular task, there is nothing wrong with saying, "I'm sorry but I was never given any guidance on this. "If they are especially douchey or cunty, you can throw in some sarcasm and say, "I guess I'm just not as talented as you are at menial chores." I don't know how difficult your job is but perhaps they are expecting you to pay more attention or display more initiative so that you can learn things on your own. There could also be various reasons that they are resentful of you and being rude is a passive-aggresive way to get to you. Either way, unless you are working on a supercollider superconductor, they are probably pretty dumb to be treating an employee, or anybody for that matter, like crap so who knows? I don't know how old you are but when I was in my late teens early twenties I was in the Marine Corps. I took crap from good leaders and good marines, and also from worthless ones. I never considered quitting though, maybe because I was too ashamed, worried about getting an "other than honorable" discharge, or just plain scared. I learned a lot in those six years especially about human character and resource management that I figured out how not to be successful and never work for a schmuck ever again.
My own worldly wisdom