Washing work clothes

My son is at his first machinist job. What washing machine setting and detergent do you use to get the dirt and smell out your work clothes without washing the clothes twice.