hostname -i command gives error Hostname lookup failure for IPv6 address on rhel6
here is how the /etc/hosts looks like
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
2001:fe80:db2:1950:baac:6fff:fe12:5552 rhel6
hostnamewithout any arguments ? – nos Jan 11 at 12:19