Linux提示用户输入并获取输入信息

#!/bin/bash
#testing the read command
echo -n "enter your key: "
read key
echo "hello $key ,welcome to my program."

猜你喜欢

转载自yan578351314.iteye.com/blog/1942040
今日推荐