add netstat command

This commit is contained in:
Oystein Kristoffer Tveit 2021-05-28 16:16:44 +02:00
parent d490c46d95
commit 4d985ba07e

View File

@ -48,6 +48,10 @@ if command -v bat &> /dev/null; then
alias cat='bat'
fi
if command -v netstat &> /dev/null; then
alias ports='sudo netstat -tulpn | grep LISTEN'
fi
# ░█▀▀░█▀█░█░░░█▀█░█▀▄
# ░█░░░█░█░█░░░█░█░█▀▄
# ░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀