1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 20:35:11 +01:00

Small script to check what process is hogging a port

This commit is contained in:
Michiel Scholten
2015-02-09 15:21:14 +01:00
parent 34e973d60d
commit 1dcf8541b7

6
bin/portuser Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
if [ -z "$1" ]; then
echo "Provide a TCP port number"
else
sudo fuser -v $1/tcp
fi