On Sat, Apr 18, 2009 at 12:24:23PM +0100, Nuno Magalhães wrote: > On Sat, Apr 18, 2009 at 12:04, Tzafrir Cohen <[email protected]> wrote:
> > netstat -lp | grep tftp > > I think you mean: > > netstat -l -p | grep tftp '-lp' is a short for '-l -p' > > Otherwise you won't get the ports part. An alternative (that i ended > up using) was: > > netstat -l -p --numeric-ports | grep 69 Yeah. I indeed normally use -nlp (or -nlpu / -nlpt) -- Tzafrir Cohen | [email protected] | VIM is http://tzafrir.org.il | | a Mutt's [email protected] | | best ICQ# 16849754 | | friend -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

