[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Another system management tool to disappear.



Le quartidi 14 fructidor, an CCXXIII, Lisi Reisz a écrit :
> > What are you talking about? The command to start the shell, or the key
> > sequence to exit it?
> Using su to change user.

Then I do not agree with your statement that "machinectl shell" is less
disability-friendly than su, quite the contrary.

Two-letters commands are a scarce resource, there are only 676 of them
(assuming you do not want to mix case), and much less of them that look or
sound like something.

"machinectl shell" is long to type, there is no doubt about, but at that
cost, it does not pollute the command namespace: you do not type it by
accident, it does not clutter completion. If you need it infrequently,
typing all of it is negligible; if you need it frequently, you can use a
shell alias to make it shorter: alias mcshell="machinectl shell"; if you
need it very very frequently, you can even decide to give it a single letter
alias. Entirely your choice.

su, on the other hand, is taking a valuable 1/676 of the completion
namespace for itself, whether you use it or not, whether you want it or not.

If Poettering had used a short command for his new tool, that would have
been a valid complaint against it, because anyone can make something they
use shorter and more accessible, but once something is in the way, it stays
there.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature


Reply to: