Shell interview question

Experiences in handling different situation