Skip to content

Instantly share code, notes, and snippets.

@DrSnowbird
Created July 20, 2018 13:59
Show Gist options
  • Save DrSnowbird/9ccee07700e8dba600a36bc303673e36 to your computer and use it in GitHub Desktop.
Save DrSnowbird/9ccee07700e8dba600a36bc303673e36 to your computer and use it in GitHub Desktop.
## find ports being used
sudo netstat -antup |awk '{print $4;}'|cut -d':' -f2 |sort -u
@DrSnowbird
Copy link
Author

Linux utility scripts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment