[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IP address




On Jul 17, 2015 11:53 AM, "Elimar Riesebieter" <riesebie@lxtec.de> wrote:
>
> * John J. Boyer <john.boyer@abilitiessoft.org> [2015-07-17 08:32 -0500]:
>
> > I have Jessie set up for CLI only. The machine is on a local network
> > using dhcp. What command will tell me what ip address it is using?
>
> $ dig  +short `hostname -f`
>

Won't always work (I'd even go as far as to say it generally won't)


Reply to: