From dd2d6d863c02595977869830543f52d735ca6358 Mon Sep 17 00:00:00 2001 From: Stefan Friese Date: Tue, 14 Jan 2025 08:49:26 +0100 Subject: [PATCH] added fuser show process behind a port --- bash/.bash_functions | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bash/.bash_functions b/bash/.bash_functions index b7ebf7b..fb057dd 100644 --- a/bash/.bash_functions +++ b/bash/.bash_functions @@ -48,6 +48,11 @@ showip() { # echo "Public IP Address copied to clipboard!" } +# Show the process behind a port +showport() { + fuser -v -n tcp "$1" +} + # Get the weather forecast for a given location. weather() { if [ -n "$1" ]; then