1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
1
#!/bin/sh
2 a=main
3
4
echo
"a is $a"
5
echo
"PID for parent before 2.sh:$$"
|
Linux shell脚本中调用另一个shell(exec、source、fork)
最新推荐文章于 2024-06-28 12:55:15 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)