Post AXotoPPSjKjW8NMLUe by solarisfire@mast.solarisfire.com
 (DIR) More posts by solarisfire@mast.solarisfire.com
 (DIR) Post #AXotYgU1U23MSAzijo by nixCraft@mastodon.social
       2023-07-18T13:16:22Z
       
       0 likes, 0 repeats
       
       Print your public IP address from Linux, macOS, FreeBSD or Unix/Windows shell:curl https://checkip.amazonaws.comTry dig dig -4 TXT +short o-o.myaddr.l.google.com @ns1.google.comdig -6 TXT +short o-o.myaddr.l.google.com @ns1.google.comSee https://www.cyberciti.biz/faq/how-to-find-my-public-ip-address-from-command-line-on-a-linux/ for more.
       
 (DIR) Post #AXotYhJ4QEt10UsUIy by selea@social.linux.pizza
       2023-07-18T13:20:03Z
       
       0 likes, 0 repeats
       
       @nixCraft curl ipv4.isdone
       
 (DIR) Post #AXotoPPSjKjW8NMLUe by solarisfire@mast.solarisfire.com
       2023-07-18T13:22:56Z
       
       0 likes, 0 repeats
       
       @selea @nixCraft Yeah, curl is much more likely to be installed than dig...
       
 (DIR) Post #AXotw6nNoyICihDgVE by selea@social.linux.pizza
       2023-07-18T13:24:08Z
       
       0 likes, 0 repeats
       
       @solarisfire eh, neither of them are.The point is that "curl ipv4.is" is much shorter...@nixCraft
       
 (DIR) Post #AXou6e8CjZwt0Mz27E by solarisfire@mast.solarisfire.com
       2023-07-18T13:26:06Z
       
       0 likes, 0 repeats
       
       @selea @nixCraft Depends on the distro... I find curl more likely to be part of a base install than dig. But yeah, neither is there by default on every distro.
       
 (DIR) Post #AXov7o0pa8rxtVeRIe by FinchHaven@hachyderm.io
       2023-07-18T13:35:50Z
       
       0 likes, 0 repeats
       
       @solarisfire hmm...______@_______:~$ which dig/usr/bin/dig______@_______:~$ which curl/usr/bin/curl______@_______:~$ ______@_______:~$ uname -aLinux Sparky 5.15.0-76-generic #83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023 x86_64 x86_64 x86_64 GNU/Linuxcc @selea @nixCraft
       
 (DIR) Post #AXov7owy5zNEnoqruy by selea@social.linux.pizza
       2023-07-18T13:37:37Z
       
       0 likes, 0 repeats
       
       @FinchHaven Neither of them is installed by default on a barebone debian system :)@solarisfire @nixCraft
       
 (DIR) Post #AXowiLJ9MqNrXOCpUm by farstrider@mastodon.social
       2023-07-18T13:55:27Z
       
       0 likes, 0 repeats
       
       @selea @nixCraft Even shorter: myip
       
 (DIR) Post #AXoxAmvOHZW5IWelMm by selea@social.linux.pizza
       2023-07-18T14:00:15Z
       
       0 likes, 0 repeats
       
       @farstrider but that requires installing nodejs and pull it down via npm?@nixCraft
       
 (DIR) Post #AXp52RQd7V1Dwfncae by outofcontrol@phpc.social
       2023-07-18T15:28:39Z
       
       0 likes, 0 repeats
       
       @selea @nixCraft curl ipv6.is would be a nice to have today.
       
 (DIR) Post #AXp5A5zQiEUvlrj6dk by selea@social.linux.pizza
       2023-07-18T15:29:50Z
       
       0 likes, 0 repeats
       
       @outofcontrolYeah, I told the owner to buy it :p @nixCraft
       
 (DIR) Post #AXpA5LJIp6IXbrZhZ2 by farstrider@mastodon.social
       2023-07-18T16:25:10Z
       
       0 likes, 0 repeats
       
       @selea @nixCraft Can't remember how I installed it (Didn't use npm or yarn) but it's a simple as:yay -S myip I use Arch btw.  😂 😂