
ps:ai:0e78b
How to use peco tool to kill process
$ ps aux | peco | awk '{print $2}' | xargs kill
try on your machine
This command will first list all running processes, allow you to select a process using peco, extract the process ID with awk, and then kill the selected process using kill command.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.
Questions that are answered by this command:
- How to use peco tool to kill process?