$$是当前bash进程的pid 等同于 $BASHPID

https://www.zhihu.com/question/50517601