Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

miguelmota/fkill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


logo


fkill

A simple 3 line bash script to kill process by name or port

License

It's like the fkill NPM package, but not taking up your entire disk space with node_modules ;)

Demo

Install

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

Usage

$ fkill [process_name(s)] [:process_port(s)]

Example

$ fkill node :3000 :8080

License

MIT