ss: add -K example (#9659)

* ss-kill-socket-connection

Kill Socket connection example

* Format compliance
pull/3/head
Roger 2022-12-29 17:25:39 -06:00 committed by GitHub
parent 6698ecaed3
commit b4ec029408
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -30,3 +30,7 @@
- Show all TCP IPv4 sockets locally connected on the subnet 192.168.0.0/16:
`ss -4t src {{192.168/16}}`
- Kill IPv4 or IPv6 Socket Connection with destination IP 192.168.1.17 and destination port 8080:
`ss --kill dst {{192.168.1.17}} dport = {{8080}}`