I want to send input from one script to another through shell scripts
when I stop this script it display the message do u want to continue
$MAIN_SCRIPT_PATH/first.sh stop
I am stopping the script using another script.I need to send yes to this script first.sh
. How I will do this?
when stopping the first.sh it ask for user input. do you want to continue? I should send yes....