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


You need to login to view comments.