linux - Is netstat -an same as netstat -na? -
i working on linux, , came across instances netstat -an , netstat -na.
are both same.what significance
both having same effect.
most of programs found on gnu/linux system, netstat
, using glibc function getopt
parsing command line arguments. that's why have @ documentation of gnu getopt
, it's argument syntax follows posix standard. here is: http://www.gnu.org/software/libc/manual/html_node/argument-syntax.html
however, not programs using syntax. shell scripts or programs written in language has no bindings gnu getopt
. means question can't answered in general, need check man page if want know exact argument syntax program. netstat
uses getopt
.
Comments
Post a Comment