摘要: EX: #!/bin/sh echo "number:$#"echo "scname:$0"echo "first :$1"echo "second:$2"echo "argume:$@" echo "show parm list:$*"echo "show process id:$$" echo 阅读全文
posted @ 2019-07-18 15:51 Leo_Wanta 阅读(149) 评论(0) 推荐(0) 编辑
摘要: #!/bin/basha=1while truedo p=`echo $a` name=`awk NR==$p isaname.txt` name1=${name%*.rpm} #将结尾的.rpm去除 echo "$name1" if [ -z "$name" ];then echo "finish 阅读全文
posted @ 2019-07-18 14:54 Leo_Wanta 阅读(303) 评论(0) 推荐(0) 编辑