How to fetch the local IPV6 address using the command ip

ip -o -6 a s

Output:

1: lo    inet6 ::1/128 scope host \       valid_lft forever preferred_lft forever
2: eth0    inet6 fe80::221a:6ff:fee5:24e8/64 scope link \       valid_lft forever preferred_lft forever

Resources

Tags:
Source:
1156hrs.txt
Published:
18-10-2015 11:56