Shell/Bash: force to kill any process port ubuntu Example

By

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

force to kill any process port ubuntu

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


lsof   - list of files(Also used for to list related processes)

-t     - show only process ID

-i     - show only internet connections related process

:9001  - show only processes in this port number

kill   - command to kill the process

-9     - forcefully

sudo   - command to ask admin privilege(user id and password).



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

Others