Shell/Bash: kill process at a port ubuntu Example

By

Shell/Bash Example: This is the "kill process at a port ubuntu" Example. compiled from many sources on the internet by SimpleTutorials.org

stop port ubintu

sudo kill -9 `sudo lsof -t -i:9001`

kill port ubuntu

sudo kill -9 `sudo lsof -t -i:3002`

ubuntu stop process on port

sudo kill -9 `sudo lsof -t -i:{PORT_NUMBER}`

kill process at a port ubuntu

sudo kill -9 $(sudo lsof -t -i:9001)



* Summary: This "kill process at a port ubuntu" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others