22 lines
633 B
Markdown
22 lines
633 B
Markdown
## Process Kill
|
||
|
||
Windows utility to display and terminate processes.
|
||
|
||
```
|
||
❯ pkill bash
|
||
Name PID Threads
|
||
wezterm-gui.exe 6020 25
|
||
bash.exe 9036 4
|
||
bash.exe 1100 2
|
||
```
|
||
|
||
### Usage
|
||
|
||
- `pkill` — all unique processed, excl. system
|
||
- `pkill <name>` — filtered processes by name or it's part
|
||
- `pkill -a/--all` — all processes, incl. system
|
||
- `pkill -t/--tree` — all processes as tree
|
||
- `pkill -p/--pid <name>` — PID of the first occurence
|
||
- `pkill -k/--kill <PID>/<name>` — terminate process by its PID or name
|
||
- `pkill -h/--help` — print help
|