如题所述
温馨提示:答案为网友推荐,仅供参考
第1个回答 2012-04-14
#!/bin/bash 这里写你的shell文件的位置,如果是linux的bash就应该是这个
read -p "Please input your name: " name 读入名字
echo -e "\nYour full name is: $name 输出名字
read -p "Please input your name: " name 读入名字
echo -e "\nYour full name is: $name 输出名字