doc: format markdown code.

This commit is contained in:
jaywcjlove 2022-09-30 15:15:54 +08:00
parent 250bdb2d5b
commit 5f3845f7fe
1 changed files with 5 additions and 0 deletions

View File

@ -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