日期:2014-05-16 浏览次数:20627 次
[root@RHEL6A shcode]# more config ID=123 IP=192.168.3.154 Name=test [root@RHEL6A shcode]# echo $ID 0 [root@RHEL6A shcode]# more sh13.sh #!/bin/bash source config echo $ID echo $IP echo Name [root@RHEL6A shcode]# ./sh13.sh 123 192.168.3.154 Name