Skip to content

Commit

Permalink
bash_aliases: Add whatport alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Ran4 committed Dec 11, 2023
1 parent 43d8d33 commit 25c790e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,5 @@ alias car='python3 ~/dotfiles/scripts/car.py'
alias mpg='python3 ~/dotfiles/scripts/mpg.py'
alias add='python3 ~/dotfiles/scripts/add.py'
alias månadskostnad='python3 ~/src/pyy/månadskostnad.py'
# Usage: `whatport 2646` -> tells you which pids are binding to port 2646
alias whatport='lsof -nP -iTCP -sTCP:LISTEN | tr -s " " | cut -d " " -f 1,2,9 | grep '

0 comments on commit 25c790e

Please sign in to comment.