killall bASH code example
Example 1: kill port ubuntu
sudo kill -9 `sudo lsof -t -i:9001`
Example 2: kill process linux
#terminate process with SIGKILL signal by process id
kill -9 pid
sudo kill -9 `sudo lsof -t -i:9001`
#terminate process with SIGKILL signal by process id
kill -9 pid