Htop Process Actions, Signals, and Priority Changes/Use htop to locate a PID, then kill from shell

Classic shell companion flow.

Section: Priority and signals

Use htop to locate a PID, then kill from shell

bash
bash
kill -TERM 12345
Explanation

TERM asks the process to exit cleanly before resorting to stronger signals.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Priority and signals
Send a signal to a process
Open the kill menu for the selected or tagged processes.
OpenIn sheettextsame section
Adjust nice value from the shell
Companion command when you prefer non-interactive changes.
OpenIn sheetbashsame section
Increase priority
Lower the nice value of the selected process.
OpenIn sheettextsame section
Decrease priority
Raise the nice value of the selected process.
OpenIn sheettextsame section
Tag processes for group actions
Mark multiple processes, then send one action to all of them.
OpenIn sheettextsame section
Attach strace manually
Use the PID from htop with a direct shell command.
OpenIn sheetbash1 tag match