this post was submitted on 03 May 2025
16 points (94.4% liked)

Linux

10226 readers
167 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

In this post, I go into hopefully better output parsing.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Laser@feddit.org 2 points 3 days ago* (last edited 3 days ago) (1 children)

You're welcome! And actually, even this approach can yield surprising results... As in have you heard of deprecated IPv6 addresses before? Well I hadn't until I realized my interface now had one (it actually didn't anymore when I wrote the post, I used the jq command on old output, not in a pipe). Which made my DynDNS script stop working because there was now a line break in the request URL that curl rightfully failed on.

Edit: also despite what the title of the post says, in not an authoritative expert on the matter and you can use whatever works for you. I see these posts more as a basis for discussions like here than definitive guides to do something the correct way.

[โ€“] dengtav@lemmy.ml 2 points 3 days ago* (last edited 3 days ago)

As in have you heard of deprecated IPv6 addresses before?

Definetly not 0.o

It's really hard to actually believe that a problem like this hasn't got a 1-word-command + flag solution yet. I mean you could ecxpect something like

ip -6 -i eno0

or so...

And yes, totally agree on the edit part! It's always nice to at least no about all the options that exist and smb found out hustling the same struggle like me :D