yqq命令

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

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

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

posted @ 2019-09-27 11:05  李聪龙  阅读(898)  评论(0编辑  收藏  举报