This question already has answers here:
What does $$ mean in the shell?
(11个答案)
可能重复:
What does $$ mean in the shell?
我正在阅读一个linux的shell脚本,看到变量
(11个答案)
可能重复:
What does $$ mean in the shell?
我正在阅读一个linux的shell脚本,看到变量
$$
:两美元符号。基本上整条线是 work_dirname=/tmp/my-work-$$
$$
是什么意思? 最佳答案
$$
给出外壳的进程ID。
关于linux - Linux脚本变量“$$” ,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/12268661/