Created
October 10, 2015 17:22
-
-
Save mjohnson9/a39617747dd13618d147 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
(echo "Program Source Destination"; (netstat -lantp | grep ESTABLISHED | awk '{print $7" "$4" "$5}' | sort -u)) | column -t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment