News for hackers. Stuff that matters.
Re:Ask HN: Are Linux HowTos dead? Why? by stop50 on Saturday August 13, 2022 @05:23PM (#32453921)
Except for a few programs like ss or nftables nothing has changed. you can still use shred, despite the usage of journaled filesystems, cp works like 20 years ago and nothing has changed with ln and i make still errors with the target and the source. so the old howtos are still valid.
Re:Ask HN: Are Linux HowTos dead? Why? by willnonya on Saturday August 13, 2022 @06:05PM (#32454235)
This is misleading, plenty has changed and Linux backwards compatibility is horrendous on a good day.
Re:Ask HN: Are Linux HowTos dead? Why? by toast0 on Saturday August 13, 2022 @06:17PM (#32454326)
The whole networking userspace is changed.

There's no ifconfig, netstat, route, iptables, ipchains, I think there was one more. pumpd is dead, isc-dhcpd is probably dead (replaced by systemd-dhcpd).

It's not really recognizable.

Re:Ask HN: Are Linux HowTos dead? Why? by vladtheimpala on Sunday August 14, 2022 @02:18AM (#32456870)
> (replaced by systemd-dhcpd)

Not everybody uses systemd. There are still a few distros that deliberately don't use it or at least offer their users a choice. I personally have two Linux systems on which precisely nothing has been replaced by any part of systemd.

Re:Ask HN: Are Linux HowTos dead? Why? by Gordonjcp on Sunday August 14, 2022 @04:06AM (#32457420)
> I personally have two Linux systems on which precisely nothing has been replaced by any part of systemd.

When was the last time you had to fiddle with anything that systemd deals with though?

Re:Ask HN: Are Linux HowTos dead? Why? by throwaway892238 on Sunday August 14, 2022 @10:53AM (#32459751)
DNS
Re:Ask HN: Are Linux HowTos dead? Why? by marcus0x62 on Sunday August 14, 2022 @07:49AM (#32458489)
> There's no ifconfig, netstat, route, iptables, ipchains, I think there was one more.

ipfwadm

Re:Ask HN: Are Linux HowTos dead? Why? by rascul on Saturday August 13, 2022 @07:54PM (#32454908)
> ifconfig, netstat, route

Some distros deprecated those tools but they're still alive.

https://sourceforge.net/projects/net-tools/

Re:Ask HN: Are Linux HowTos dead? Why? by tenebrisalietum on Sunday August 14, 2022 @12:02AM (#32456208)
`nftables` may have replaced `iptables` but I don't know it from my current Debian router - my complex `iptables` firewall and routing script runs great.

`ipchains` was replaced by `iptables` in the early 2000's I think.

Also I got `isc-dhcp-server` running and kicking just fine. And straight `bind9`. I know `systemd` does both of these but nothing's forcing you to replace it-at least on Debian anyway.

Re:Ask HN: Are Linux HowTos dead? Why? by stop50 on Sunday August 14, 2022 @02:55AM (#32457078)
Modern debian uses an shim to ease migration to nftables.
Re:Ask HN: Are Linux HowTos dead? Why? by gattilorenz on Saturday August 13, 2022 @06:30PM (#32454422)
ALSA, sysV init, xf86config ramdac settings... and a million other things, not just networking
Re:Ask HN: Are Linux HowTos dead? Why? by Gordonjcp on Sunday August 14, 2022 @04:05AM (#32457416)
You can install those and they'll work in much the same way.
Re:Ask HN: Are Linux HowTos dead? Why? by stop50 on Sunday August 14, 2022 @02:54AM (#32457068)
Dhcpd is currently replaced by kea.
Re:Ask HN: Are Linux HowTos dead? Why? by hedora on Saturday August 13, 2022 @07:41PM (#32454833)
I switched video cards recently. The right command was "mhwd -Ia" or something.

Then, I tried pairing some Bluetooth headphones with a USB dongle that has regressed default firmware. Not only had everything changed, I hadn't even heard of the deprecated programs. The only cli tools I used from memory were "sudo", " dmesg", "grep" and "ln/rm/etc".

Re:Ask HN: Are Linux HowTos dead? Why? by rascul on Saturday August 13, 2022 @07:51PM (#32454884)
> you can still use shred, despite the usage of journaled filesystems

The docs say otherwise. Journaled filesystems and SSDs are both noted.

https://www.gnu.org/software/coreutils/manual/html_node/shre...

Re:Ask HN: Are Linux HowTos dead? Why? by stop50 on Sunday August 14, 2022 @02:57AM (#32457089)
What i meant was: is doesn't crash the pc. And there are still unjournaled filesystems out there
Re:Ask HN: Are Linux HowTos dead? Why? by aulin on Saturday August 13, 2022 @11:22PM (#32456042)
What is it with ln? 20+ years using it and I still have to read the man page every single time. Whenever I try to do without I always end up with red links
Re:Ask HN: Are Linux HowTos dead? Why? by nl on Sunday August 14, 2022 @12:18AM (#32456282)
Yes, same here! Even after reading the docs I still get it around the wrong way.

I wonder why it's so hard to internalize?

Re:Ask HN: Are Linux HowTos dead? Why? by rep_lodsb on Sunday August 14, 2022 @10:50AM (#32459720)
Might be because it's the opposite of cp and mv? I have the same problem with it.

edit: even worse, I thought it was opposite, but it actually isn't! memetic effect?

Re:Ask HN: Are Linux HowTos dead? Why? by raggi on Saturday August 13, 2022 @05:29PM (#32453967)
ln works just like cp.

Use the -r flag if you're on GNU for easier relative link creation.