How to Kill Established Connections in Unix From NetStat

Written by joshua laud
  • Share
  • Tweet
  • Share
  • Email

If you use the NetStat command in the Unix Terminal, it will list all existing TCP and UDP connections that are running. These are the connections established either to your network or online to remote servers. Each IP address represents a different connection that you have running. If you want to kill one of the established connections you have found from NetStat, then you must utilise the "tcpkill" command. "Tcpkill," like NetStat, is used from the command line.

Skill level:
Easy

Other People Are Reading

Instructions

  1. 1

    Open the Unix Terminal from the main "System" menu.

  2. 2

    Type "netstat" and press "Enter." Check the IP address of the connection you wish to kill.

  3. 3

    Type "tcpkill -i eth 0 IP," replacing "IP" with the IP address of the connection you wish to kill. Alternatively, use its "host name" (such as "eth 0," for example) or the port number (for example, "44752") in the place of "IP."

  4. 4

    Press "Enter" to kill the connection.

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.