Get your public IP via shell

To get your public IP you can use websites like or just google for it ( But you can also get your public IP via the following Linux shell  command (the smart way :-D): $> curl This gives you an output like that: ip_addr: remote_host: user_agent: curl/7.35.0 port: 47745 lang: connection: keep_alive: encoding: […]