Stephen Nichols
Results
2
comments of
Stephen Nichols
@ewencp thanks. I modified your answer to work with CentOS 7 since ifconfig is not included by default. Now, if I can just get this to return the external IPs...
The linux "hostname -f" command also returns the wrong result if they are on separate lines. Since many software packages depend on this command this is a problem.