Skip to content

Commit

Permalink
doc: format markdown code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 30, 2022
1 parent 250bdb2 commit 5f3845f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions command/wait.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,21 @@ wait(参数)
使用命令wait等待作业号为1的作业完成后再返回,输入如下命令:

运行一个sleep进程

```shell
sleep 10s &
[1] 27156
```

指定作业号

```shell
wait %1 #等待作业号为1的作业完成
[1]+ Done sleep 10s
```

指定进程号

```shell
wait 27156
[1]+ Done sleep 10s
Expand Down

0 comments on commit 5f3845f

Please sign in to comment.