Created
January 14, 2014 08:43
-
-
Save Sounds-of-Science/8415161 to your computer and use it in GitHub Desktop.
Display tcp connections on the machine and their states.
This file contains hidden or 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
| # Display tcp connections on the machine and their states. | |
| netstat -an | awk '/tcp/ {print $6}' | sort | uniq -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment