#!/bin/bash
echo Please enter your name
read NAME
echo "Hi! $NAME !"
echo Please enter your age
read AGE
echo "You are $AGE !"
exit 0
There is a script like this
I want to use another shell script to operate it
I tried echo but I can only enter one, and there seems to be a problem
Why need another script to automate manual operations for you?
This purpose can be achieved completely through Shell EOF