Last active
November 4, 2020 09:11
-
-
Save jonashackt/6d1349a21f546df46bca745a629c733e to your computer and use it in GitHub Desktop.
Collecting some Mac related terminal commands I regularly need
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Show all processes that use a port | |
lsof -i 4tcp | |
# or | |
netstat -anvp tcp | awk 'NR<3 || /LISTEN/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment