yes is not useless. It is used to automatize confirmation of programs which heavily rely on user interaction. Like in yes | apt-get install something. Now, apt should have an option for that, but this is what the program is meant for.
The “funny” argument is just subjective :D
…like in sl: you are very concentrated on your work, then you mistype sl and get annoying thing happening. That’s also why I get annoyed by the default apt-suggestion in ubuntu: you type sl instead of ls and have to wait until you get notified about “we have sl, just install it”.
-y, --yes, --assume-yes
Automatic yes to prompts; assume "yes" as answer to all prompts and run non-interactively.
If an undesirable situation, such as changing a held package, trying to install a unauthenticated
package or removing an essential package occurs then apt-get will abort.
Configuration Item: APT::Get::Assume-Yes.
And in defense of the article, it’s funny OR useless.
yesis not useless. It is used to automatize confirmation of programs which heavily rely on user interaction. Like inyes | apt-get install something. Now,aptshould have an option for that, but this is what the program is meant for.The “funny” argument is just subjective :D
…like in
sl: you are very concentrated on your work, then you mistypesland get annoying thing happening. That’s also why I get annoyed by the default apt-suggestion in ubuntu: you typeslinstead oflsand have to wait until you get notified about “we have sl, just install it”.Should, and does have. From apt-get(8):
And in defense of the article, it’s funny OR useless.
nice collection!!