Shell interview question

Capacity question