Sample Header Ad - 728x90

Macbook Pro - How do we terminate ALL ESTABLISHED connections?

-1 votes
1 answer
2206 views
How do I terminate ALL the ESTABLISHED tcp connections in Terminal? I can use the command below to get a list of active & established connections: netstat -anvp tcp | awk 'NR<3 || /ESTABLISHED/‘ I would like to terminate the connections one by one OR all at the same time. How can I do this?
Asked by Santhosh (1 rep)
Jan 13, 2022, 11:59 AM
Last activity: Jan 13, 2022, 10:41 PM