Amazon Interview Question

Q: what is the exact command for this or that situation