Say I have a PID for process called 1234. How do you kill a PID process on Linux? It always says permission denied on Linux bash shell:
bash: kill: (1234) - Operation not permitted
Please help.
Say I have a PID for process called 1234. How do you kill a PID process on Linux? It always says permission denied on Linux bash shell:
bash: kill: (1234) - Operation not permitted
Please help.
Run with sudo or su to get rid of Operation not permitted error on Linux:
sudo kill -15 1234
sudo kill -9 1234
OR
su -
kill -9 1234
See
https://www.cyberciti.biz/faq/how-to-end-task-with-pid-in-linux/
And
https://www.cyberciti.biz/faq/kill-process-in-linux-or-terminate-a-process-in-unix-or-linux-systems/
Super quick.
sudo kill (your pid)