Created
August 31, 2017 14:10
-
-
Save craiglondon/23092a820ae761b9815140f3d7284833 to your computer and use it in GitHub Desktop.
A Windows' TCPView-like command for linux
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
#!/bin/bash | |
watch -pn 0.1 "netstat -pat" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In order to get the
p
innetstat -pat
switch to work, you need to run the command above as root.