On Sun, May 04, 2003 at 07:34:48PM +0200, Holger Kubiak wrote: | a) Can I get the hostname in my shell script another way (this could be a | question for this list)? Have you tried using dig? Something like dig +short -x 1.2.3.4 should do the trick without needing any grep or awk to parse it. Cameron.