New answers tagged


To output only IPv6 info, use the -f address_family option. Example: netstat -nr -f inet6 From the netstat man page: −f address_family Limit statistics or address control block reports to those of the specified address family. The following address families are recognized: inet, for AF_INET, inet6, for AF_INET6 and unix, for AF_UNIX.


$ netstat -nr | sed -e '1,/Internet6:/d' Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 UcI lo0 fe80::1%lo0 ...

Top 50 recent answers are included