xxxxxxxxxx
pidof slack
9734 9718 9716 9708 9622 9619
sudo kill -9 process_id
pidof apt
9734 9718 9716 9708 9622 9619
sudo kill -9 9734 9718 9716 9708 9622 9619
xxxxxxxxxx
ps -ef| grep <name or substring of the program> #Find the all program threads
kill - 9 <PID> # Kill it immediately (Second column from above command)
xxxxxxxxxx
# Find the PID of the process
ps aux | grep <process_name>
# Use the kill command to terminate the process
kill <PID>
xxxxxxxxxx
Find PID of process to kill with:
ps ax
Then just specify "kill PID" command as for example:
kill 16320
kill -9 16320 #Force kill in case process is not answering.