Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Yes is a Unix
command, which outputs an affirmative response, or a user-defined string
of text continuously until killed. By itself, the yes command outputs
'y' or whatever is specified as an argument, followed by a newline,
until stopped by the user or otherwise killed; when piped into a
command, it will continue until the pipe breaks (i.e., the program
completes its execution). It can also be used to test how well a system
handles high loads, as using yes results in 100% processor usage, for
systems with a single processor (for a multiprocessor system, a process
must be run for each processor). This, for example, can be useful for
investigating whether a system's cooling system will be effective when
the processor is running at 100%.