Linux中变量$#,$@,$0,$1,$2,$*,$$,$?的含义
摘要:
转自:http://dadekey.blog.51cto.com/107327/119938/我们先写一个简单的脚本,执行以后再解释各个变量的意义# touch variable# vi variable脚本内容如下:#!/bin/shecho "number:$#" echo "scname:$0" echo "first :$1" echo "second:$2" echo "argume:$@" echo "show parm list:$*" echo "s 阅读全文
posted @ 2013-09-27 15:37 项羽 阅读(306) 评论(0) 推荐(0) 编辑