Try it out. The y 's will continue ad infinitum . You can kill the processby hitting your interrupt key, which is usually . Any data sent to it will disappear. This is a very effective method ofquieting an otherwise verbose program.
Nothing is printed, but the shell prompt doesn'tcome back.
Again, to kill the job,hit the interrupt key. Let's suppose that we wanted the yes command to continue torun, but wanted to get our shell prompt back to work on other things. We can put yes into the background, which will allow it torun, but without need for interaction. As you can see, we have our shell prompt back. The shell assigns a job number to every running job.