On 06/11/14 15:25, Fred wrote:
On 06/11/14 15:16, Carsten Kunze wrote:
----- Original Nachricht ----
Von: Rodrigo Mosconi <open...@mosconi.mat.br>
An: Carsten Kunze <carsten.ku...@arcor.de>
Datum: 11.06.2014 16:05
Betreff: Re: Vision 2020: Making OpenBSD the world's fastest OS
What is the output from "echo $?", after you run the "getent ... "
command?
$ getent hosts `hostname`
$ echo $?
0
`hostname` should be replaced with a host...eg:
port:fred ~> getent hosts 'google.com'
173.194.41.160 google.com
173.194.41.163 google.com
173.194.41.168 google.com
173.194.41.167 google.com
173.194.41.161 google.com
173.194.41.165 google.com
173.194.41.164 google.com
173.194.41.169 google.com
173.194.41.174 google.com
173.194.41.162 google.com
173.194.41.166 google.com
2a00:1450:4009:809::1003 google.com
Sent to quickly :~( if `hostname` is not returning anything then the
current system does not have an /etc/myname file.
hth
Fred