echo $$, $BASHPID2017-07-29UncategorizedContents$$是当前bash进程的pid 等同于 $BASHPIDhttps://www.zhihu.com/question/50517601Author w1100nLastMod 2017-07-29