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



Linux提示用户输入并获取输入信息
 
Java代码  
 
#!/bin/bash  
 
#testing the read command  
 
echo -n "enter your key: "  
 
read key  
 
echo "hello $key ,welcome to my program."  
 

相关内容

    暂无相关文章