Use Domain In Hostname Or Not?
Chris Torek
chris at mimsy.umd.edu
Fri Feb 16 02:11:23 AEST 1990
In article <2929 at decuac.DEC.COM> avolio at decuac.dec.com (Frederick M. Avolio)
writes:
>The fact is, the fully qualified domain name *is* the hostname.
Fred is right, as usual.
The reason you should set your host name to your FQDN is the same as
the reason you should write your own full name on any form letter or
credit-card application or survey or whatever. Your first name or
your last name *might* be good enough; if you have a small community
it probably *will* be good enough; but it is not your full name.
I set my prompt with
set hostname=`hostname | sed -e 's/\..*//'`
...
set prompt="[$hostname\!] "
and use $hostname whenever I want the abbreviated form.
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain: chris at cs.umd.edu Path: uunet!mimsy!chris
More information about the Comp.unix.ultrix
mailing list