Shell脚本中$0、$?、$!、$$、$*、$#、$@等的意义
!/bin/bash my_fun() { echo “#" } echo 'the number of parameter in "#" } echo 'the number of parameter in "@” is ‘(myfun"(my_fun "@”) echo ‘the number of parameter in “∗"is′*" is '(my_fun “∗")执行:./my.sh
转载
2017-05-25 09:52:34 ·
659 阅读 ·
0 评论