在CentOs 7命令中使用-y有什么用处

时间:2017-03-06 06:15:56

标签: centos7

命令

yum -y install httpd

以及在线安装软件或服务时的其他命令

1 个答案:

答案 0 :(得分:1)

输入man yum以查看选项。

-y, --assumeyes
Assume yes; assume that the answer to any question which would be asked is yes.
Configuration Option: assumeyes