Linux command to operate network connections

August 21st, 2009 by aimslife Leave a reply »

Following commands can give network connections information,

  1. # netstat -tulpan
  2. # lsof –i

Command#1 (netstat –tulpan) will give you connections information, but I did not find any way to kill connection after get information from it.

Command#2 (lsof –i) will give you useful connections information and PID of connections as well. You can kill that session using PID.

Advertisement

Leave a Reply