Hello, it looks like it's not just me who has problems with default commands names. One of the most important binary is called "systemctl", but 'systemc<TAB>' is needed for /usr/bin/systemctl to expand. On the other hand 'servi<TAB>' works just fine and on default Fedora install it's just 'ser<TAB>'. Six (four) keystrokes vs eight. While aliases solve this problem, I propose to create a git-like wrapper short enough to type with shell completion. Something like: sd control sd journal sd cgls sd cgtop This should give us five to six keystrokes to complete the required command. If you doubt about having this by default, I propose the same behavior as an optional thing that would ship with systemd and with one command administrators could turn it on. And where is the benefit when I compare this proposal with user-defined aliases? When you log on a system that is under control of multiple people, you can easily turn this on and save your time. It would be likely turned on by somebody else. Btw for the "sd" candidate it looks like nothing is using it in Fedora and RHEL. Not sure about other distros tho. This needs more discussion. [lzap@lzapx ~]$ sudo yum whatprovides /usr/sbin/sd No matches found [lzap@lzapx ~]$ sudo yum whatprovides /usr/bin/sd No matches found
+1 I teach RHCSA & RHCE curriculum to Red Hat employees that provide technical support for our customers ... and I act as a training resource for existing support techs. Annoyance at typing out the systemctl command is sooooo common that I really think we should do something about it.
I think aliases might be better first step than asking for something in the core distribution. Here is what I put on a paper: https://github.com/lzap/systemd-shortcuts It started as a simple systemctl alias and evolved into something like this. Let's see how it works in real life.
Hello, for the record, here is my prototype: https://github.com/lzap/systemd-shortcuts Builds for Fedoras and RHEL6 and 7 are here: https://copr.fedoraproject.org/coprs/lzap/systemd-shortcuts/
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.