[Cialug] Just Tell Me The IP!

Daniel A. Ramaley daniel.ramaley at drake.edu
Thu May 21 20:10:23 UTC 2020


On the servers where i tested (a mix of Debian and RHEL), lowercase i
always gave 127.0.0.1, while uppercase always gave the useful IP.

I was not aware of the -i argument (in either uppercase or lowercase
forms) until today, so that is useful, thank you.

On 5/21/20 2:44 PM, Scott Yates wrote:
> I think if you use CAPITAL I with hostname
> 
> hostname -I
> 
> It will provide ALL the ip's, then you can filter out localhost maybe?
> 
> On Thu, May 21, 2020 at 2:32 PM L. V. Lammert <lvl at omnitec.net> wrote:
> 
>> On Thu, 21 May 2020, Dave Hala wrote:
>>
>>> It's consistent, that's the most important thing.  <g>
>>>
>> Well, .. works on OpenSuse, .. NOT on Debian.
>>
>>         Lee
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
>>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
> 

__
Daniel Ramaley
Server Engineer 2, Information Technology Services
Drake University

T: +1-515-271-4540
W: https://www.drake.edu/its


More information about the Cialug mailing list