iTranslated by AI
The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🔥
How to Kill Applications Without Using PIDs
Checking PIDs with ps -ef |grep NAME is a hassle. Also, commands like pkill and killall carry the risk of accidentally terminating the wrong process.
In this article, I will introduce some recommended ways to kill applications.
fkill CLI
The fkill command created by sindresorhus is very useful.
You can filter processes and kill them by pressing Enter.
$ npm i -g fkill
$ fkill
# or
$ npx fkill
sindresorhus/fkill: Fabulously kill processes. Cross-platform.

Alfred Kill Process
For those using Alfred on macOS, there is a recommended workflow.

Discussion