What is the difference between yum -y and yum

 In linux, yum is often used to install, update and uninstall software, then we will find that when using yum, there are usually the following two command modes:

   ①yum install  xxx 

   ②yum -y install  xx

 So what's the difference between the two methods? For Xiaobai, this is quite confusing.

    In fact, these two methods have the same effect and can successfully operate the software. The difference is that ① in the process of installation or uninstallation, the user will be asked: is that ok? ② is to attach y directly to the instruction as a parameter, and there will be no such query statement later.



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325948974&siteId=291194637
yum