Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!decuac!avolio From: avolio@decuac.dec.com (Frederick M. Avolio) Newsgroups: comp.unix.ultrix Subject: Re: Use Domain In Hostname Or Not? Message-ID: <2929@decuac.DEC.COM> Date: 15 Feb 90 02:24:41 GMT References: <4940@itivax.iti.org> Sender: news@decuac.DEC.COM Reply-To: avolio@decuac.dec.com Organization: Digital Equipment Corp., SWS, Landover, MD Lines: 21 The fact is, the fully qualified domain name *is* the hostname. Shortcuts are allowed in that using bind an unqualified hostname will be resolved by assuming your domain name be attached, so for example, if I am on host gildor.dco.dec.com and I type telnet winsrf it will do the same thing as if I typed telnet winsrf.dco.dec.com If that failed it'd try winsrf.dec.com Similarly for mail. When you set up your prompt, if that is your only concern, do something like: set prompt="`hostname|sed 's/\..*//'`> " Fred