dotfiles/bin/ports

9 lines
96 B
Bash
Executable file

#! /usr/bin/env bash
set -euo pipefail
function main {
lsof -nP +c 15 | grep LISTEN
}
main