title: Linux command for IPV6 IP address compare
body: <p>I am trying to get IPV6 IP address on Linux system. I am using below command</p>
  
  <pre><code>ifconfig eth0 | grep "inet6 addr" | awk '{print $3}'
  </code></pre>
  
  <p>Please suggest if any improvements needed.
  I also want to check if IPV6 IP address is not equal to 0:0:0:0:0:0:0:1</p>
  
  <p>How can that be done ? </p>
  
  <p>Thanks.
  Dnyanesh.</p>