A simple 3 line bash script to kill process by name or port
It's like the fkill NPM package, but not taking up your entire disk space with node_modules ;)
wget https://raw.githubusercontent.com/miguelmota/fkill/master/fkill.sh?token=AAKRMDILnWgF-tBQypmRylm9p6iJwMj2ks5a5kS3wA%3D%3D -O fkill.sh
chmod +x fkill.sh
mv fkill.sh /usr/local/bin/fkill
$ fkill [process_name(s)] [:process_port(s)]
$ fkill node :3000 :8080