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

Re: changing hostname



According to Paul J. Lucas, on Fri, 25 Mar 2005 07:47:36 -0800 (PST), 
> 	If I want to change a host's name, I edit:
>
> 		/etc/hostname
> 		/etc/mailname
> 		/etc/hosts
>
> 	which I did, but 'uname -n' still prints the old hostname.  Is a
> 	reboot necessary?
>
> 	- Paul
>
>

/etc/init.d/hostname.sh restart



Reply to: