killling process running on a particular port number in linux code example Example: kill process linux using port sudo kill -9 $(sudo lsof -t -i:8000)