2 ms·
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
by mixmastamyk 2y ago
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.
- johnisgood 2y agoYeah, 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.
- robinsonb5 2y ago"systemctl" would be less of an issue if "sysctl" didn't already exist and do something completely different.
- johnisgood 2y agoYes, it is something I had to learn in the very beginning, but I never made the mistake ever again.