Skip to content

Commit

Permalink
Update killall.md (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
hujingnb authored May 22, 2022
1 parent 70d3143 commit 0957786
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions command/killall.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,14 @@ killall(选项)(参数)

### 实例

杀死所有同名进程

```shell
# 杀死所有同名进程
killall vi
# 指定向进程发送的信号
killall -9 vi
# 0信号表示不向进程发送信号, 可通过返回值判断进程是否存在, 0(存在)1(不存在)
killall -0 vi
echo $?
```


0 comments on commit 0957786

Please sign in to comment.