shell中read的使用方法
时间:2009-06-25 来源:liyongfeng410799624
#!/bin/bash
#readname
echo -n "First Name:"
read firstname
echo "Last Name:"
read lastname
echo -e "Your Name is :${firstname} ${lastname}\n"
#readname
echo -n "First Name:"
read firstname
echo "Last Name:"
read lastname
echo -e "Your Name is :${firstname} ${lastname}\n"
相关阅读 更多 +