Unix tools introduced. Today: yes

The unix tool yes provides one simple yet very useful functionality. It repeatedly  prints ‘yes’ (or any other string) to the console.

This can be used to automatically answer questions in scripted environments.

Example:

yes|sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm

 

Leave a Reply