[techtalk] Debian system host name

ktb ktb at nixnotes.org
Wed May 9 13:52:59 EST 2001


On Wed, May 09, 2001 at 08:30:48AM -0500, Judith Elaine Bush wrote:
> I'm changing the host name on my debian potato box (since dynamic dns
> died at justlinux.com -- i've gone with zoneedit.com). 
> 
> When I last set up the box, I just answered an installation question
> about the host name. Does Debian have a simple hostname update script?
> 
> I'm grepping through /etc/* and /etc/*/* to find instances to change
> by hand -- but Debian often has a better way than by hand....

Put your hostname in /etc/hostname to make it permanent.
To change it until you reboot -
# hostname new_host_name

hth,
kent

-- 
 From seeing and seeing the seeing has become so exhausted
     First line of "The Panther" - R. M. Rilke






More information about the Techtalk mailing list