doc: format markdown code.
This commit is contained in:
parent
250bdb2d5b
commit
5f3845f7fe
|
|
@ -22,16 +22,21 @@ wait(参数)
|
||||||
使用命令wait等待作业号为1的作业完成后再返回,输入如下命令:
|
使用命令wait等待作业号为1的作业完成后再返回,输入如下命令:
|
||||||
|
|
||||||
运行一个sleep进程
|
运行一个sleep进程
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sleep 10s &
|
sleep 10s &
|
||||||
[1] 27156
|
[1] 27156
|
||||||
```
|
```
|
||||||
|
|
||||||
指定作业号
|
指定作业号
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
wait %1 #等待作业号为1的作业完成
|
wait %1 #等待作业号为1的作业完成
|
||||||
[1]+ Done sleep 10s
|
[1]+ Done sleep 10s
|
||||||
```
|
```
|
||||||
|
|
||||||
指定进程号
|
指定进程号
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
wait 27156
|
wait 27156
|
||||||
[1]+ Done sleep 10s
|
[1]+ Done sleep 10s
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue