Why do all the sudo? [was Re: Software updater no longer functional]
Ralf Mardorf
silver.bullet at zoho.com
Sun Jan 22 17:43:46 UTC 2017
You are comparing oranges and bananas.
It's no problem if a user prefers
sudo -s
or
sudo -i
or even
su
but it's also no problem, if a Wiki explains something step by step.
It is good practice for a documentation, to do it step by step.
A user also might prefer to use command line features, as well as
combinations of commands, that make daily usage of the command line
comfortable, but a howto less clear. If I edit a Wiki I don't use
command line short cuts, neither long lines that make my work-flow more
pleasant, with lots of pipes and things like this. I even avoid
bashisms.
I most likely would use
$ su
# apt update && apt install linux{-image,-headers}-4.4.0-21-generic
but writing a Wiki like this
$ sudo apt update
$ sudo apt install linux-image-4.4.0-21-generic
$ sudo apt install linux-headers-4.4.0-21-generic
the first is more comfortable, the latter is easier to understand.
Regards,
Ralf
More information about the ubuntu-users
mailing list