[Gllug] $HOSTNAME

Tethys sta296 at astradyne.co.uk
Thu Sep 10 20:58:22 UTC 2009


--------

Carles Pina i Estany writes:

>> Where is the $HOSTNAME variable set in OpenSUSE 10.1, using KDE3?
>> Surely it's set from etc/HOSTNAME? Except they're suddenly different.
>
>cd /etc/
>grep -r "$HOSTNAME" .
>
>should tell you the place...

No, that would only tell you where it's dereferenced, not where
it's set. You'd want to grep for "hostname" to find where it's set.

Tet
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list