Shell interview question

Basic aptitude problems