6 stable releases

1.5.0 Feb 20, 2022
1.4.0 Jan 5, 2022
1.3.0 Jun 5, 2021
1.2.0 Apr 17, 2020
1.0.0 Mar 22, 2020

#2305 in Command line utilities

MIT license

1MB
108 lines

ikill Crates.io License

Interactively kill running processes, inspired by fkill-cli.

Features

  • List and fuzzy find running processes.
  • Multi select processes by pressing .
  • Clear all queries by pressing Ctrl+l.

Usage

Run ikill on terminal, search and press .

Screenshot

A screenshot

Installation

If you have rust toolchain installed, you can just do:

cargo install ikill

Alternatively, you can download pre-build binaries from the release page.

Usage

ikill - Interactively kill processes

USAGE:
    ikill

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

Alternatives

# using `fzf`
pgrep . -l | fzf --reverse -m | awk '{ print $2 }' | xargs -I% -r kill -9 '%'

# using `dmenu`
pgrep . -l | dmenu -l 20 | awk '{ print $2 }' | xargs -I% -r kill -9 '%'

TODO

  • Preview pane with process id?
  • allow users to customize skim?

Dependencies

~17–29MB
~446K SLoC