Shell interview question

example to handle ambigurity