ISPN interview question

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