IBM interview question

Regarding script in unix