[Gllug] $HOSTNAME

Stephen Nelson-Smith sanelson at gmail.com
Tue Sep 8 15:32:50 UTC 2009


On Tue, Sep 8, 2009 at 3:45 PM, John G
Walker<johngeoffreywalker at yahoo.co.uk> wrote:
> I think I'm going off my head.
>
> Where is the $HOSTNAME variable set in OpenSUSE 10.1, using KDE3?
> Surely it's set from etc/HOSTNAME? Except they're suddenly different.
>
> It's important because it's used in various scripts of mine (including
> the backup),

It's probably safer to use $(hostname -s)

S.

-- 
Stephen Nelson-Smith
Technical Director
Atalanta Systems Ltd
www.atalanta-systems.com
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list