Pergunta de entrevista da empresa ISPN

How would you find the external IP address using the command line/terminal?