#! /bin/bash read -ep \"Enter the search term \" garg while [ \"$garg\" != \"exit\" ] do netstat -pea|grep $garg lsof|grep $garg read -ep \"Enter the search term \" garg done
A small script I find useful for finding connections Website
#! /bin/bash read -ep "Enter the search term " garg while [ "$garg" != "exit" ] do netstat -pea|grep $garg lsof|grep $garg read -ep "Enter the search term " garg done
added by bw447 on 2007-11-07 10:58:22