yes | ./long_script.sh or yes y | ./long_script.sh
Here is what the above code is Doing:
1. The yes command is used to output a string repeatedly until killed.
2. The output of the yes command is piped to the long_script.sh script.
3. The long_script.sh script is executed with the y argument.
4. The long_script.sh script will keep executing until it is killed.