Answers for "kill command linux"

34

kill port ubuntu

sudo kill -9 `sudo lsof -t -i:9001`
Posted by: Guest on May-03-2020
5

kill port linux

kill -9 $(lsof -t -i:8080)
Posted by: Guest on December-29-2020
2

kill process unix

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.
Posted by: Guest on October-25-2020
3

how to kill a process in linux

kill -KILL PIDnumber ... for example, kill -KILL 12345
Posted by: Guest on November-14-2019
0

kill process bash

this is to kill many process (mistakenly submitted) 

#!/bin/bash
while :
do
    echo "Press [CTRL+C] to stop.."
    for pid in $(ps -ef | awk '/pmemd.cuda/ {print $2}'); do kill -9 $pid; done  

    sleep 1
done
Posted by: Guest on September-24-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language