Skip to content

Instantly share code, notes, and snippets.

View PatPetillo's full-sized avatar

Pasqualino (Pat) Petillo PatPetillo

View GitHub Profile
@franzese
franzese / killport
Created September 9, 2016 08:47
Killport Bash Shell Script
#!/bin/bash
# How To Use:
# move this file to /usr/local/bin
# ensure script is executable `chmod +x killport`
# To kill any processes running on a known port use:
# > killport <port>
if [ $# -eq 0 ]
then