[clug-talk] hostname

Mark Carlson carlsonmark at gmail.com
Mon May 8 09:36:49 PDT 2006


On 5/8/06, Mitchell Brown <mbgb14 at gmail.com> wrote:
> I don't seem to have a hostname file in etc :-/ should I make it?

read the man page for hostname

if it says /etc/hostname is the correct file, then create one.

without the file, `hostname` could be returning the FQDN ( `hostname
-f` ) which will be localhost unless you change it by some other means
(such as in the /etc/hosts file)

-Mark



More information about the clug-talk mailing list