MacTech Interview Question

To write a bash script