Pregunta de entrevista de Ericsson

How would you diagnose network issues in bash?