Shell Interview Question

example to handle ambigurity