Simple age check for Linux:

Just have the shell ask the user to check the host IP on first boot.

If they type ifconfig they are old enough, if they type ip they deserve to be restricted from their computer 😇

@stacksmashing Quite sure they should answer "ip a" also what is the punishment for answering ipconfig?
@stacksmashing Years of retraining muscle memory, and this is what I get in return? 😅
@notbobbytables @stacksmashing Wait, is there a reason I should not be using ifconfig?
@CanLehmann @stacksmashing Good question. I mean, it has been deprecated for more than 10 years now, without any real consequences. 🤷‍♂️
@notbobbytables @CanLehmann @stacksmashing on Linux, it only displays a subset of the IPs on an iface (on BSD it works). I guess they invented a NIH thing because they didn’t manage to fix that.
@stacksmashing What if they type ipconfig /all ? 💀
@hisold you get sandboxed into mspaint.exe
@hisold @stacksmashing
Ban them for life, unfriend and block
@stacksmashing once you go `ip -br a` you never go back
@n @stacksmashing i know that plenty of tools do it, but i'm old enough to consider multi-letter arguments with a single hyphen sacrilege
@jelte @n @stacksmashing Agreed. I also hate when commands insist on "--help" instead of just "-h".
@stacksmashing I've fully retrained myself to use ip for common tasks, but I resorted to ifconfig the other day to assign a second, static IP to an existing interface
@stacksmashing My personal hell version of this is keeping forgetting about systemd timers and just getting pissed when I don't find what I'm looking for with crontab

@stacksmashing For FreeBSD:

If you’re using FreeBSD, you’re old enough.

@stacksmashing nah ifconfig is still commonly thought, esp for people migrating from windows
@stacksmashing always so annoying when ifconfig returns ‘command not found’
@stacksmashing if their host has more 3 active physical network interfaces, they clearly know what they're doing and know more than any dumb politician. If they only have IPv6 active then they know more than most ISPs.
@zymurgic @stacksmashing last time I tried it wasn't possible to have an IPv6 only host. I couldn't delete 127.0.0.1 :(
@stacksmashing Ask them to configure a firewall and see if they reach for `iptables`, `ipchains` or `ipfwadm`?
@stacksmashing It’s the other way around, `ifconfig` relies on deprecated APIs since 10+ years and is unreliable (as well as having one of the worst UX).
@stacksmashing Alternatively ask the user to enter a syntactically correct perl statement. Bonus points for just ;
@G33KatWork typing Perl gets you a 20% discount on your next colonoscopy
@stacksmashing require them to use emacs to edit crontabs to configure the system? Use iptables to set up a firewall? Lock them out if they type systemctl? So many shibboleths...
@stacksmashing ifconfig has been practically deprecated since 2001. those iproute2 users could have children of their own at this point 😅