Linux Command Line – public ip, computer ip Echo your own public ip from command line Option 1: $ wget -qO- ipecho.net/plain Option 2: $ su - your pass $ apt-get install curl $ curl ifconfig.me Echo your own local ip from command line $ ifconfig Share this:TwitterFacebookTumblrLike this:Like Loading...