it was said:
>It works if I ping 'hostname', but how can I find out the IP of
>'hostname' from the command line?
Hello,
Would not grep 'hostname' /etc/hosts do this?
HTH,
stheg
__
Do you Yahoo!?
Yahoo! Small Business - Try our new resources
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2005-03-28, Emanuel Strobl scribbled these
curious markings:
> Is there one? Unfortunately I can't write one myself, at least not
> in a reasonable amount of time
- --cut--
#!/usr/bin/perl -w
use strict;
use Socket;
my $host = shift or die "us
Am Montag, 28. März 2005 08:23 schrieb Alexander Chamandy:
> On Mon, 28 Mar 2005 07:17:31 +0200, Emanuel Strobl
>
> <[EMAIL PROTECTED]> wrote:
> > Dear all,
> >
> > my testbed lacks of Ethernet Ports so one machine has no connection to my
> > DNS, no problem, there is something called /etc/hosts I
On Mon, 28 Mar 2005 07:17:31 +0200, Emanuel Strobl
<[EMAIL PROTECTED]> wrote:
> Dear all,
>
> my testbed lacks of Ethernet Ports so one machine has no connection to my DNS,
> no problem, there is something called /etc/hosts I thought.
> It works if I ping 'hostname', but how can I find out the IP
Dear all,
my testbed lacks of Ethernet Ports so one machine has no connection to my DNS,
no problem, there is something called /etc/hosts I thought.
It works if I ping 'hostname', but how can I find out the IP of 'hostname'
from the command line? dig and host want to contact the DNS server, also