lists all network protocol connections filtering out column 6 and sorting the unique entries by count


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. netstat -plan | awk '{print $6}' | sort | uniq -c

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.