This question already has an answer here:
Ex. I have one script Test.sh
#!/bin/sh echo "/n read the value" read info if [ "$info" = 1 ]; then echo "yes" else echo "no" fi
I want to call Test.sh script from another script (test2.sh) in nohup mode. Is there any way i can provide the value to "read info" by passing with arguments/ any other way.