分类: LINUX
2014-09-21 13:01:54
原文地址:shell中使用命令行中参数 作者:andyhzw
parameter.sh
#!/bin/bash echo "show all the parameter : " echo "the scirpt name is : $0" echo "the first parameter is : $1" echo "the second parameter is : $2" echo "the third parameter is : $3" echo "the four parameter is : $4" echo "the five parameter is : $5" exit