摘要:
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 阅读全文
摘要:
#!/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 阅读全文