mirror of
https://codeberg.org/diginaut/dotfiles.git
synced 2026-02-04 20:30:27 +01:00
Small script to check what process is hogging a port
This commit is contained in:
6
bin/portuser
Executable file
6
bin/portuser
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
if [ -z "$1" ]; then
|
||||||
|
echo "Provide a TCP port number"
|
||||||
|
else
|
||||||
|
sudo fuser -v $1/tcp
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user