I’m looking to use my eth0 ipv6 address in one of my shell scripts. I could retrieve it using ifconfig and grep, but I’m certain that it must be somewhere in some text file I’m not seeing, which would ultimately make it much easier to retrieve. Anyone know where I should look?
Thanks
1 Answer