shell script中read的用法

1、read基本读取 #!/bin/bash #testing the read command echo -n "Enter you name:" #echo -n 让用户直接在后面输入 read name #输入的多个a56爆大奖在线娱乐将保存在一个变量中 echo "Hello $name, welcome
posted @ 2017-12-13 15:00  轻轻的吻  阅读(635)  评论(0编辑  收藏  举报