Martin Reising <mreising@nixda.org> (Mo 02 Jul 2007 21:12:16 CEST): > On Mon, Jul 02, 2007 at 08:23:51PM +0200, Roland M. Kruggel wrote: > > wo nimmt /bin/hostname seine Daten her. Ich dachte immer > > aus /etc/hostname. Da steht bei mir 'sigma' drin. Ein 'hostname -d' > > ergibt jedoch local.netz. (Was auch stimmt) Wo kommt > > dieses 'local.netz' her? In welcher Datei ist es gespeichert? > > strace -ff hostname -d 2>&1 | grep open Ist etwas overkill. Vielleicht auch so: strace -e open hostname -- Heiko
Attachment:
signature.asc
Description: Digital signature