Shell interview question

How do you handle mistakes?