kill for platform

Kill a process using the process id.


> kill (pid) --force --quiet --signal


  • pid: process id of process that is to be killed
  • rest of processes to kill
  • --force (-f): forcefully kill the process
  • --quiet (-q): won't print anything to the console
  • --signal {int}: signal decimal number to be sent instead of the default 15 (unsupported on Windows)


Kill the pid using the most memory

> ps | sort-by mem | last | kill $

Force kill a given pid

> kill --force 12345

Send INT signal

> kill -s 2 12345