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.