摘要: 1.常常可以看到echo $0,这个表示查看当前的shell。 $0 当前Shell程序的文件名dirname $0,获取当前Shell程序的路径cd `dirname $0`,进入当前Shell程序的目录 2.$变量的一些解释 $n $1 the first parameter,$2 the se 阅读全文
posted @ 2012-03-27 18:03 念槐聚 阅读(175) 评论(0) 推荐(0) 编辑