kmirl

u/kmirl@lemmy.world
0 posts · 57 comments

Recent posts

No posts.

Recent comments

Hello old-timer! I've been using various Linux versions for about 30 years as well. Started on Slackware, then jumped to Redhat around 6.0, then jumped to Ubuntu after the RHEL release. I'm still on 24.04 Mate, but will soon be switching to Debian. I like the Mate desktop but I'm tired of Canonical's ongoing attempts to embrace and extend Linux.

on Sacrilicious · c/atheism · 7 pts · 119d

Haha same! Also mine are christofascist hypocrites and I haven't spoken to either one of them in 25 years

For us Linux users (BTW), this wtfismyip script just dumps a text string. Just save it to /usr/local/bin or some other location in your path and make it executable, and install the lynx text www browser if you don't have it installed already.

There are a lot of ways to do this, but this works and I'm lazy...

root@tux:~# cat $(which wtfismyip)
#!/bin/bash

printf "%s\n" "Your fucking IP address is $(lynx -dump -nolist http://wtfismyip.com/text)."
root@tux:~# wtfismyip
Your fucking IP address is 13.107.226.41.