For finding out which ports of the machine are being opening by which services, I used:
netstat -tulpn
I checked the man
page for netstat
command, but I found nothing about this option. What's the meaning of the -tulpn
option?
For finding out which ports of the machine are being opening by which services, I used:
netstat -tulpn
I checked the man
page for netstat
command, but I found nothing about this option. What's the meaning of the -tulpn
option?
As answered in https://serverfault.com/questions/387935/whats-the-difference-betwen-the-single-dash-and-double-dash-flags-on-shell-comm, in a Linux command line;
If you look at netstat man page, you will see that (Note that,
netstat -tulpn
is equivalent tonetstat -t -u -l -p -n
):So, your command is equivalent to the following long form also:
In addition to
man netstat
you can typeinfo netstat
to get a shorter summary and longer explanation:For
-t -u -l -p -n
above you see--tcp
,--udp
,--listen
,--program
and--numeric
without having to scroll.Scrolling down you can see verbose explanations.
Looks like you were looking for the man page for netstat(8).
Linux.die.net has man pages for seemingly all Linux tools. See below the man page for netstat(8) which should answer your question.
https://linux.die.net/man/8/netstat