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

Re: change hostname



Ionel Mugurel Ciobica wrote:

On 13-09-2004, at 08h 01'54", Víctor A. Ramos wrote about "change hostname"
Hi,
I have a Debian GNU/Linux installed on my compute, and I want to change
the hostname of this machine. Can someone tell me how can this be done?

Thanks a lot



With the hostname command as root (see man hostname).
You could also change the content of the /etc/hostname file, but it
will take action next time you reboot.


You need to do both of those: one for immediate effect, the other for later.

--

Cheers
John

-- spambait
1aaaaaaa@computerdatasafe.com.au  Z1aaaaaaa@computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/



Reply to: