'netstat' and '-f inet' option

  • Thread starter Thread starter Karthik Balaguru
  • Start date Start date
K

Karthik Balaguru

Hi,

I have been trying to use the command of
'netstat -a -n -f inet' to generate a report on all
network end points not just the ESTABLISHED
(-a option) by printing the IP addresses as
dotted-decimal numbers(-n option), but only for
TCP and UDP end points(-f inet option). But,
strangely, the '-f inet' option does not seem
to work in linux.

So, i tried the same command in windows vista
too, but the same option of '-f inet' did not work
there too.

So, is the option of '-f inet' has been deprecated
in netstat command . Which other option covers up
the feature of reporting only TCP and UDP
end points that was provided by '-f inet' option ?
Any ideas ?

Thx in advans,
Karthik Balaguru
 
So, is the option of '-f inet' has been deprecated in netstat command .
Which other option covers up the feature of reporting only TCP and UDP
end points that was provided by '-f inet' option ? Any ideas ?

Try --inet instead on linux. These kinds of flags are not standarised, so
for every OS it's different.

M4
 
Back
Top