Why hostname -i does not display my IP address?
Issue
hostname -i
command does not display my IP address.hostname -i
command will display another IP address instead of mine.
Environment
- Red Hat Enterprise Linux 6, 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.