[Gllug] $HOSTNAME
Carles Pina i Estany
carles at pina.cat
Sat Sep 12 23:56:18 UTC 2009
Hi,
On Sep/10/2009, Tethys wrote:
> --------
>
> 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.
In some place in /etc/ the hostname is saved and we are searching for
this place, right? It would probably be near to "hostname" where maybe
it's set using hostname command (but not sure in Suse)
Maybe I lost some email in the middle
--
Carles Pina i Estany
http://pinux.info
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list