[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LOCALHOST



On Mon, 2005-02-21 at 12:16 +0100, sirtux wrote:
> come faccio a sapere quale è il mio localhost?
> da riga di comando va benissimo
> 
> grazie
> David

Se ti interessa solo il nome associato al tuo localhost (127.0.0.1)
basta fare:
$ hostname
Cmq puoi anche provare a leggere i file /etc/hostname e /etc/hosts
inoltre per default il tuo localhost è raggiungibile semplicemente con
il nome "localhost" o con l'indirizzo 127.0.0.1.
Ciao.
-- 
Homepage: http://marianobono.altervista.org
GPG Key: http://marianobono.altervista.org/contact/public.gpg
Key fingerprint = 93D5 EDBF 8199 AC22 3937 26BF 9EBF DF27 A3A1 BFBB
Jabber: mariano@jabber.linux.it




Reply to: