News for hackers. Stuff that matters.
Re:Show HN: Interactive systemd (a better way to work with s... by mixmastamyk on Saturday January 18, 2025 @12:42PM (#42749942)
I haven’t had much trouble with the cli, but it is kinda wordy. I made this alias:

    alias sc='sudo systemctl'
Now it matches the sc utility introduced in Windows many years back. Then remember the verb goes first.
Re:Show HN: Interactive systemd (a better way to work with s... by johnisgood on Saturday January 18, 2025 @01:04PM (#42750100)
Yeah, and you can omit the ".service" suffix, and you could use ".timer" suffix, too, if you have a timer for that service.

As much as I do not like systemd, I do not think its commands are an issue, and I use "systemctl status" and "journalctl" as well with some flags at times.

Re:Show HN: Interactive systemd (a better way to work with s... by robinsonb5 on Saturday January 18, 2025 @01:17PM (#42750191)
"systemctl" would be less of an issue if "sysctl" didn't already exist and do something completely different.
Re:Show HN: Interactive systemd (a better way to work with s... by johnisgood on Saturday January 18, 2025 @01:18PM (#42750200)
Yes, it is something I had to learn in the very beginning, but I never made the mistake ever again.