get my ip address
- Date: Fri, 15 Feb 2019 11:11:29 +0100
- From: tony <lists@xxxxxxxxxxxxxx>
- Subject: get my ip address
Hi all, Debian 9. I need to read my IPv6 address into a python script. I am aware that I can call ip a and parse the result. The parsing, whilst quite achievable, is slightly tricky, but I can manage the RE, so that's not my question. Is there any other way to obtain this data, maybe from /sys? Cheers, Tony.