pkill/README.md
2024-08-02 22:40:10 +03:00

22 lines
633 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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