yqq命令-飞外

用 apt-get install 安装时 ,会有一个提问,问是否继续,需要输入 yes。使用 yqq 的话,就没有这个提问了,自动 yes 。

例如下面的更新和安装nginx:

apt-get -yqq update apt-get -yqq install nginx