SkillAgentSearch skills...

Nkill

Kills all processes listening on the given TCP ports

Install / Use

/learn @ridha/Nkill
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

nkill

Kills all processes listening on the given TCP ports.

Install

You need go installed and GOBIN in your PATH. Once that is done, run the command:

   $ go get -u github.com/ridha/nkill

Usage

To kill any process listening to the port 8080:

    nkill 8080

Sometimes process fork and will need to be killed many times:

    watch -n 0 "nkill 8080"
Inspiration

http://voorloopnul.com/blog/a-python-netstat-in-less-than-100-lines-of-code/

Related Skills

View on GitHub
GitHub Stars22
CategoryDevelopment
Updated1y ago
Forks4

Languages

Go

Security Score

60/100

Audited on Aug 23, 2024

No findings