What is Nostr?
Jim Salter /
npub19g6…xpgq
2024-07-25 22:36:46

Jim Salter on Nostr: I don't know which of y'all needs to hear this today, but you can sort IPv4 addresses ...

I don't know which of y'all needs to hear this today, but you can sort IPv4 addresses quickly and easily with newer versions of GNU sort: cat ipaddresses.txt | sort -V will do the trick.

This is essentially accidental, as -V is intended to properly sort "software version numbers" but it works like a champ for IPv4 addresses.

Also, stop using nmap just to get a quick list of what machines are occupying what addresses on your subnet. That's what arp-scan is for!
Author Public Key
npub19g6wf2p26la98nl662uq0rnzs8g4z6m4v3pcnc7qdm746kat5pfsrfxpgq