5 ms·
I think the previous post mentions the `service` command, which has `service foo start` pattern. I'm used to `service` command, so I have muscle memory which
by Ayesh 2y ago
I think the previous post mentions the `service` command, which has `service foo start` pattern.
I'm used to `service` command, so I have muscle memory which `systemd` breaks. The way `systemd` commands are laid out is better, it just messes with `service` command muscle memory.
- Mayzie 2y agoIt's been a decade at this point since the last big distro (and surrounding drama), Debian and Ubuntu following shortly after, moved to systemd.
- kijin 2y agoMany distros still provide the `service` command, and don't print any warnings when you use it. At best, you might get an informational message that the equivalent systemd command is being called. There is no recommendation to call the systemd command directly, or any sign of the `service` command being deprecated any time soon. As a result, a lot of people are probably still relying on their muscle memory for the `service` command.
- cassianoleal 2y agoI disagree that the way systemd is laid out is better. With initV, issuing many command in sequence to the same service (enable, then start… stop then start… etc) is much quicker and easier as it’s “up-arrow, control-W, type new command. With the systemd option I either need to navigate one word to the left (or more depending on how the shell is configured wrt word separation) before I replace the command, or I need to delete both the command and the service name, and retype more. It’s not a huge difference but small downgrades in ergonomics add up over time.
- egberts1 2y agoA huge typing pain. A backward step in intuitive CLI usage. We can be such a fuddy-duddy gray-beards.
- noumuon 2y agoAliases
- ecef9-8c0f-4374 2y agoduct tape
- egberts1 2y agosuperglue
- BenjiWiebe 2y agoSystemd does have 'restart' and 'enable --now' (which starts the service too). Too bad it doesn't have a '--status 2' flag to show the status after two seconds too.
- dralley 2y agoThe systemd layout allows you to send the same command to multiple services, which is much more frequently useful than sending multiple commands to one service.
- cassianoleal 2y agoI can't remember the last time I had to send the same command to multiple services/units. Normally when I'm doing things on the terminal, I do one thing at a time.