Ericsson Interview Question

How would you diagnose network issues in bash?